Passed as a parameter when a 3d object event occurs

Static variables

@:value("positionChanged")staticinlineread onlyPOSITION_CHANGED:String = "positionChanged"

Defines the value of the type property of a positionChanged event object.

@:value("rotationChanged")staticinlineread onlyROTATION_CHANGED:String = "rotationChanged"

Defines the value of the type property of a rotationChanged event object.

@:value("scaleChanged")staticinlineread onlySCALE_CHANGED:String = "scaleChanged"

Defines the value of the type property of a scaleChanged event object.

@:value("scenetransformChanged")staticinlineread onlySCENETRANSFORM_CHANGED:String = "scenetransformChanged"

Defines the value of the type property of a scenetransformChanged event object.

@:value("sceneChanged")staticinlineread onlySCENE_CHANGED:String = "sceneChanged"

Defines the value of the type property of a sceneChanged event object.

@:value("visiblityUpdated")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: Object3DEvent.TRANSFORM_CHANGED, Object3DEvent.SCENETRANSFORM_CHANGED, Object3DEvent.SCENE_CHANGED, Object3DEvent.RADIUS_CHANGED and Object3DEvent.DIMENSIONS_CHANGED.

object

A reference to the 3d object that is relevant to the event.

Variables

object:Object3D

A reference to the 3d object that is relevant to the event.

Methods

clone():Event

Creates a copy of the Object3DEvent object and sets the value of each property to match that of the original.