Package | away3d.events |
Class | public class Object3DEvent |
Inheritance | Object3DEvent ![]() |
Property | Defined by | ||
---|---|---|---|
object : Object3D
A reference to the 3d object that is relevant to the event.
| Object3DEvent |
Method | Defined by | ||
---|---|---|---|
Creates a new
MaterialEvent object. | Object3DEvent | ||
clone():Event
Creates a copy of the Object3DEvent object and sets the value of each property to match that of the original.
| Object3DEvent |
Constant | Defined by | ||
---|---|---|---|
DIMENSIONS_CHANGED : String = "dimensionschanged" [static]
Defines the value of the type property of a dimensionschanged event object.
| Object3DEvent | ||
RADIUS_CHANGED : String = "radiuschanged" [static]
Defines the value of the type property of a radiuschanged 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 | ||
TRANSFORM_CHANGED : String = "transformchanged" [static]
Defines the value of the type property of a transformchanged event object.
| Object3DEvent |
object | property |
public var object:Object3D
A reference to the 3d object that is relevant to the event.
Object3DEvent | () | constructor |
public function Object3DEvent(type:String, object:Object3D)
Parameters
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 |
public override function clone():Event
Creates a copy of the Object3DEvent object and sets the value of each property to match that of the original.
ReturnsEvent |
DIMENSIONS_CHANGED | constant |
public static const DIMENSIONS_CHANGED:String = "dimensionschanged"
Defines the value of the type property of a dimensionschanged event object.
RADIUS_CHANGED | constant |
public static const RADIUS_CHANGED:String = "radiuschanged"
Defines the value of the type property of a radiuschanged event object.
SCENE_CHANGED | constant |
public static const SCENE_CHANGED:String = "scenechanged"
Defines the value of the type property of a scenechanged event object.
SCENETRANSFORM_CHANGED | constant |
public static const SCENETRANSFORM_CHANGED:String = "scenetransformchanged"
Defines the value of the type property of a scenetransformchanged event object.
TRANSFORM_CHANGED | constant |
public static const TRANSFORM_CHANGED:String = "transformchanged"
Defines the value of the type property of a transformchanged event object.