Packageaway3d.events
Classpublic class Object3DEvent
InheritanceObject3DEvent Inheritance flash.events.Event

Passed as a parameter when a 3d object event occurs

Public Properties
 PropertyDefined by
  object : Object3D
A reference to the 3d object that is relevant to the event.
Object3DEvent
Public Methods
 MethodDefined by
  
Object3DEvent
(type:String, object:Object3D)
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
Public Constants
 ConstantDefined by
  DIMENSIONS_CHANGED : String = "dimensionsChanged"
[static] Defines the value of the type property of a dimensionsChanged event object.
Object3DEvent
  PARENT_UPDATED : String = "parentUpdated"
[static] Defines the value of the type property of a parentUpdated 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
  SESSION_CHANGED : String = "sessionChanged"
[static] Defines the value of the type property of a sessionChanged event object.
Object3DEvent
  SESSION_UPDATED : String = "sessionUpdated"
[static] Defines the value of the type property of a sessionUpdated event object.
Object3DEvent
  TRANSFORM_CHANGED : String = "transformChanged"
[static] Defines the value of the type property of a transformChanged event object.
Object3DEvent
Property detail
objectproperty
public var object:Object3D

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

Constructor detail
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.
Init Parameters
Method detail
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.

Returns
Event
Constant detail
DIMENSIONS_CHANGEDconstant
public static const DIMENSIONS_CHANGED:String = "dimensionsChanged"

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

PARENT_UPDATEDconstant 
public static const PARENT_UPDATED:String = "parentUpdated"

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

SCENE_CHANGEDconstant 
public static const SCENE_CHANGED:String = "sceneChanged"

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

SCENETRANSFORM_CHANGEDconstant 
public static const SCENETRANSFORM_CHANGED:String = "scenetransformChanged"

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

SESSION_CHANGEDconstant 
public static const SESSION_CHANGED:String = "sessionChanged"

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

SESSION_UPDATEDconstant 
public static const SESSION_UPDATED:String = "sessionUpdated"

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

TRANSFORM_CHANGEDconstant 
public static const TRANSFORM_CHANGED:String = "transformChanged"

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

Wiki link
Click to go to the wiki page for 'away3d.events.Object3DEvent'

Code examples

Comments