If disabled, the Component will stop enacting its behavior.
Callback for when any manipulation ends
Callback for when any manipulation begins
Callback for when any manipulation updates
Callback for when rotation has ended
Callback for when rotation begins
Callback for when rotation updates each frame
Callback for when scale has ended
Callback for when scale has reached the minimum or maximum limit
Callback for when scale begins
Callback for when scale updates each frame
Callback for when translation has ended
Callback for when translation begins
Callback for when translation updates each frame
Readonly
sceneThe scene object this component is on.
Readonly
uniqueReturns if translation along world X-axis is enabled.
Set if translation along world X-axis is enabled.
Returns if translation along world Y-axis is enabled.
Set if translation along world Y-axis is enabled.
Returns if translation along world Z-axis is enabled.
Set if translation along world Z-axis is enabled.
Get if rotation occurs about all axes or a single world axis (x,y,z) when using to two hands..
Set if rotation occurs about all axes or a single world axis (x,y,z) when using to two hands.
Adds a new SceneEvent, triggered by eventType
events, to the ScriptComponent.
Returns the SceneObject the component is attached to.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
Removes a previously added SceneEvent from the ScriptComponent.
Sets the transform of the passed SceneObject as the root of the manipulated object(s).
Static
get
Binds scripts to Events and executes them when triggered. Any script can access the ScriptComponent executing them through the variable
script
. See also: Scripting Overview, Script Events Guide.Example