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

Dispatched to notify changes in a geometry object's state.

See also

away3d.core.base.Geometry


Public Properties
 PropertyDefined By
  subGeometry : SubGeometry
[read-only] The SubGeometry object that is the subject of this event, if appropriate.
GeometryEvent
Public Methods
 MethodDefined By
  
GeometryEvent(type:String, subGeometry:SubGeometry = null)
Create a new GeometryEvent
GeometryEvent
  
clone():Event
[override] Clones the event.
GeometryEvent
Public Constants
 ConstantDefined By
  BOUNDS_INVALID : String = BoundsInvalid
[static]
GeometryEvent
  SUB_GEOMETRY_ADDED : String = SubGeometryAdded
[static] Dispatched when a SubGeometry was added from the dispatching Geometry.
GeometryEvent
  SUB_GEOMETRY_REMOVED : String = SubGeometryRemoved
[static] Dispatched when a SubGeometry was removed from the dispatching Geometry.
GeometryEvent
Property Detail
subGeometryproperty
subGeometry:SubGeometry  [read-only]

The SubGeometry object that is the subject of this event, if appropriate.


Implementation
    public function get subGeometry():SubGeometry
Constructor Detail
GeometryEvent()Constructor
public function GeometryEvent(type:String, subGeometry:SubGeometry = null)

Create a new GeometryEvent

Parameters
type:String — The event type.
 
subGeometry:SubGeometry (default = null) — An optional SubGeometry object that is the subject of this event.
Method Detail
clone()method
override public function clone():Event

Clones the event.

Returns
Event — An exact duplicate of the current object.
Constant Detail
BOUNDS_INVALIDConstant
public static const BOUNDS_INVALID:String = BoundsInvalid

SUB_GEOMETRY_ADDEDConstant 
public static const SUB_GEOMETRY_ADDED:String = SubGeometryAdded

Dispatched when a SubGeometry was added from the dispatching Geometry.

SUB_GEOMETRY_REMOVEDConstant 
public static const SUB_GEOMETRY_REMOVED:String = SubGeometryRemoved

Dispatched when a SubGeometry was removed from the dispatching Geometry.