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
  GEOMETRY_UPDATED : String = "geometryUpdated"
[static] Defines the value of the type property of a geometryChanged 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
GEOMETRY_UPDATEDconstant
public static const GEOMETRY_UPDATED:String = "geometryUpdated"

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

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

Code examples

Comments