| Package | away3d.events |
| Class | public class Object3DEvent |
| Inheritance | Object3DEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| object : Object3D
A reference to the 3d object that is relevant to the event. | Object3DEvent | ||
| Method | Defined By | ||
|---|---|---|---|
Object3DEvent(type:String, object:Object3D)
Creates a new MaterialEvent object. | Object3DEvent | ||
clone():Event [override]
Creates a copy of the Object3DEvent object and sets the value of each property to match that of the original. | Object3DEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| POSITION_CHANGED : String = positionChanged [static]
Defines the value of the type property of a positionChanged event object. | Object3DEvent | ||
| ROTATION_CHANGED : String = rotationChanged [static]
Defines the value of the type property of a rotationChanged event object. | Object3DEvent | ||
| SCALE_CHANGED : String = scaleChanged [static]
Defines the value of the type property of a scaleChanged event object. | Object3DEvent | ||
| SCENE_CHANGED : String = sceneChanged [static]
Defines the value of the type property of a sceneChanged event object. | Object3DEvent | ||
| SCENETRANSFORM_CHANGED : String = scenetransformChanged [static]
Defines the value of the type property of a scenetransformChanged event object. | Object3DEvent | ||
| VISIBLITY_UPDATED : String = visiblityUpdated [static]
Defines the value of the type property of a visiblityUpdated event object. | Object3DEvent | ||
| object | property |
public var object:Object3DA reference to the 3d object that is relevant to the event.
| Object3DEvent | () | Constructor |
public function Object3DEvent(type:String, object:Object3D)
Creates a new MaterialEvent object.
type:String — 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:Object3D — A reference to the 3d object that is relevant to the event.
|
| clone | () | method |
override public function clone():EventCreates a copy of the Object3DEvent object and sets the value of each property to match that of the original.
ReturnsEvent |
| POSITION_CHANGED | Constant |
public static const POSITION_CHANGED:String = positionChangedDefines the value of the type property of a positionChanged event object.
| ROTATION_CHANGED | Constant |
public static const ROTATION_CHANGED:String = rotationChangedDefines the value of the type property of a rotationChanged event object.
| SCALE_CHANGED | Constant |
public static const SCALE_CHANGED:String = scaleChangedDefines the value of the type property of a scaleChanged event object.
| SCENE_CHANGED | Constant |
public static const SCENE_CHANGED:String = sceneChangedDefines the value of the type property of a sceneChanged event object.
| SCENETRANSFORM_CHANGED | Constant |
public static const SCENETRANSFORM_CHANGED:String = scenetransformChangedDefines the value of the type property of a scenetransformChanged event object.
| VISIBLITY_UPDATED | Constant |
public static const VISIBLITY_UPDATED:String = visiblityUpdatedDefines the value of the type property of a visiblityUpdated event object.