Passed as a parameter when a 3d object event occurs


Inherited from Event.


Can be created using method new:

Lib.Away3D.Events.Object3DEvent.new(type, object)

Creates a new Object3DEvent object.

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. (Object3D)


Created Object3DEvent object has properties:

object

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


methods:

clone()

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



Static constants:

Lib.Away3D.Events.Object3DEvent.POSITION_CHANGED

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

Lib.Away3D.Events.Object3DEvent.ROTATION_CHANGED

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

Lib.Away3D.Events.Object3DEvent.SCALE_CHANGED

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

Lib.Away3D.Events.Object3DEvent.SCENE_CHANGED

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

Lib.Away3D.Events.Object3DEvent.SCENETRANSFORM_CHANGED

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

Lib.Away3D.Events.Object3DEvent.VISIBLITY_UPDATED

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

Created with the Personal Edition of HelpNDoc: Produce electronic books easily