Difference between revisions of "IC Python API:RLPy RIEventListener"

From Reallusion Wiki!
Jump to: navigation, search
(Created page with "{{TOC}} {{Parent|IC_Python_API:RL_Python_Modules|Modules}} ==Detailed Description== Event Listener. ==Member Functions== ===RegisterCallback=== <syntaxhighlight lang="Python">...")
(No difference)

Revision as of 02:22, 1 April 2019

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