Packageaway3d.events
Classpublic class GeometryEvent
InheritanceGeometryEvent Inheritance flash.events.Event

Passed as a parameter when a geometry event occurs

Public Properties
 PropertyDefined by
  geometry : Geometry
A reference to the 3d object that is relevant to the event.
GeometryEvent
Public Methods
 MethodDefined by
  
GeometryEvent
(type:String, geometry:Geometry)
Creates a new MaterialEvent object.
GeometryEvent
  
clone():Event
Creates a copy of the Object3DEvent object and sets the value of each property to match that of the original.
GeometryEvent
Public Constants
 ConstantDefined by
  DIMENSIONS_CHANGED : String = "dimensionsChanged"
[static] Defines the value of the type property of a dimensionsChanged event object.
GeometryEvent
Property detail
geometryproperty
public var geometry:Geometry

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

Constructor detail
GeometryEvent()constructor
public function GeometryEvent(type:String, geometry:Geometry)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.
 
geometry:Geometry — 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.

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

Code examples

Comments