IC Python API:RLPy RIEventListener

From Reallusion Wiki!
Revision as of 01:22, 1 April 2019 by Chuck (RL) (Talk | contribs) (Created page with "{{TOC}} {{Parent|IC_Python_API:RL_Python_Modules|Modules}} ==Detailed Description== Event Listener. ==Member Functions== ===RegisterCallback=== <syntaxhighlight lang="Python">...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Main article: Modules.

Detailed Description

Event Listener.

Member Functions

RegisterCallback

RLPy.RIEventListener.RegisterCallback ( self, pCallback )

Register callback.

Parameters

pCallback [IN] REventCallback - RLPy.REventCallback

Returns

Callback id - int

UnregisterCallback

RLPy.RIEventListener.UnregisterCallback ( self, uId )

Remove callback with id.

Parameters

uId [IN] callback id - int

Return Values

RLPy.RStatus.Success Success

RLPy.RStatus.Failure Fail


UnregisterCallbacks

RLPy.RIEventListener.UnregisterCallbacks ( self, kIds )

remove callbacks with ids

Parameters

kIds [IN] callback ids - int

Return Values

RLPy.RStatus.Success Success

RLPy.RStatus.Failure Fail


Init

RLPy.RIEventListener.Init ( self )

initialize