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
  GEOMETRY_CHANGED : String = "geometryChanged"
[static] Defines the value of the type property of a geometryChanged event object.
GeometryEvent
  GEOMETRY_UPDATED : String = "geometryUpdated"
[static] Defines the value of the type property of a geometryChanged event object.
GeometryEvent
  MAPPING_CHANGED : String = "mappingChanged"
[static] Defines the value of the type property of a mappingChanged event object.
GeometryEvent
  MAPPING_UPDATED : String = "mappingUpdated"
[static] Defines the value of the type property of a mappingUpdated event object.
GeometryEvent
  VISIBLE_CHANGED : String = "visibleChanged"
[static] Defines the value of the type property of a mappingUpdated 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.

GEOMETRY_CHANGEDconstant 
public static const GEOMETRY_CHANGED:String = "geometryChanged"

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

GEOMETRY_UPDATEDconstant 
public static const GEOMETRY_UPDATED:String = "geometryUpdated"

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

MAPPING_CHANGEDconstant 
public static const MAPPING_CHANGED:String = "mappingChanged"

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

MAPPING_UPDATEDconstant 
public static const MAPPING_UPDATED:String = "mappingUpdated"

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

VISIBLE_CHANGEDconstant 
public static const VISIBLE_CHANGED:String = "visibleChanged"

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

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

Code examples

Comments