Passed as a parameter when a 3d object event occurs
Static variables
staticinlineread onlyPOSITION_CHANGED:String = "positionChanged"
Defines the value of the type property of a positionChanged event object.
staticinlineread onlyROTATION_CHANGED:String = "rotationChanged"
Defines the value of the type property of a rotationChanged event object.
staticinlineread onlySCALE_CHANGED:String = "scaleChanged"
Defines the value of the type property of a scaleChanged event object.
staticinlineread onlySCENETRANSFORM_CHANGED:String = "scenetransformChanged"
Defines the value of the type property of a scenetransformChanged event object.
staticinlineread onlySCENE_CHANGED:String = "sceneChanged"
Defines the value of the type property of a sceneChanged event object.
staticinlineread onlyVISIBLITY_UPDATED:String = "visiblityUpdated"
Defines the value of the type property of a visiblityUpdated event object.
Constructor
new(type:String, object:Object3D)
Creates a new MaterialEvent object.
Parameters:
type | The type of the event. Possible values are: |
|---|---|
object | A reference to the 3d object that is relevant to the event. |
Variables
Methods
clone():Event
Creates a copy of the Object3DEvent object and sets the value of each property to match that of the original.