DAZ Script | |
---|---|
void | addToGroup ( String group ) |
void | clearConnection () |
void | clearScriptFunction () |
Object | getArg ( Number i ) |
Number | getArgCount () |
Boolean | getBlockedDuringSceneLoad () |
Boolean | getDeleteAfterExecution () |
QVariant | getDynamicProperty ( String name ) |
Array | getGroups () |
Boolean | getProcessAsEvent () |
String | getScript () |
QObject | getSender () |
Boolean | isEvaluated () |
void | removeFromGroup ( String group ) |
void | setBlockedDuringSceneLoad ( Boolean onOff ) |
Boolean | setConnection ( QObject sender, String signal ) |
Boolean | setConnection ( QObject sender, String signal, Boolean garbageCollect ) |
Number | setConnections ( QObject sender, Array signalList, Boolean garbageCollect ) |
void | setDeleteAfterExecution ( Boolean onOff ) |
void | setDynamicProperty ( String name, QVariant value ) |
void | setProcessAsEvent ( Boolean onOff ) |
void | setScript ( String script, Boolean evaluate ) |
void | setScriptFunction ( Function functionRef, Object thisObject ) |
void | setScriptFunction ( Function functionRef ) |
Encapsulates an object that is used to execute a script when a signal that it is connected to is triggered.
See Also:
void : addToGroup( String group )
Adds the callback to the given callback group.
Parameter(s):
void : clearConnection()
Disconnects from the signal that triggers this callback.
void : clearScriptFunction()
Clears the script Function assigned to this callback.
Since:
Return Value:
Attention:
See Also:
Number : getArgCount()
Return Value:
Attention:
See Also:
Boolean : getBlockedDuringSceneLoad()
Return Value:
true
if this callback is not processed during a scene load but is instead processed at the end of a scene load, otherwise false
.Boolean : getDeleteAfterExecution()
Return Value:
true
if this callback is set to be deleted after it has been executed, otherwise false
.Since:
QVariant : getDynamicProperty( String name )
Parameter(s):
Return Value:
Since:
Return Value:
Return Value:
true
if this callback is processed as an event, otherwise false
.Return Value:
Return Value:
Boolean : isEvaluated()
Return Value:
void : removeFromGroup( String group )
Removes this callback from the group
callback group.
Parameter(s):
void : setBlockedDuringSceneLoad( Boolean onOff )
Parameter(s):
true
, this callback will not be processed while the scene is loading, it will be processed when the scene is finished loading.Attention:
Boolean : setConnection( QObject sender, String signal )
Makes the connection that triggers this callback.
Parameter(s):
Boolean : setConnection( QObject sender, String signal, Boolean garbageCollect )
Makes the connection that triggers this callback.
Parameter(s):
Number : setConnections( QObject sender, Array signalList, Boolean garbageCollect )
Makes the connection that triggers this callback.
Parameter(s):
Return Value:
signalList
that are established, or -1 if sender
is null.void : setDeleteAfterExecution( Boolean onOff )
Parameter(s):
true
, sets this callback to be deleted after it has been executed.Since:
void : setDynamicProperty( String name, QVariant value )
Sets a dynamic property on this callback.
Parameter(s):
Attention:
Since:
void : setProcessAsEvent( Boolean onOff )
Parameter(s):
true
, sets this callback to trigger as it is encountered in the event stack.Attention:
void : setScript( String script, Boolean evaluate )
Sets the script that will be executed by this callback.
Parameter(s):
script
is the actual code and it should be embedded, set this to true
, otherwise it is assumed that script
is the path of a script file to execute.void : setScriptFunction( Function functionRef, Object thisObject )
Connects this callback to a script Function.
Parameter(s):
functionRef
.Since:
void : setScriptFunction( Function functionRef )
Connects this callback to a script Function.
Parameter(s):
Since: