IC Python API:RLPy RIEventListener

From Reallusion Wiki!
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