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

GeometryEvent is an Event dispatched to notify changes on a Geometry object.

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
Clones the event.
GeometryEvent
Public Constants
 ConstantDefined by
  ANIMATION_CHANGED : String = "AnimationChanged"
[static] Dispatched when the Animation property of the dispatching Geometry was changed.
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)Parameters
type:String — The event type.
 
subGeometry:SubGeometry (default = null) — An optional SubGeometry object that is the subject of this event.
Init Parameters
Method detail
clone()method
public override function clone():Event

Clones the event.

Returns
Event — An exact duplicate of the current object.
Constant detail
ANIMATION_CHANGEDconstant
public static const ANIMATION_CHANGED:String = "AnimationChanged"

Dispatched when the Animation property of the dispatching Geometry was changed.

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.

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

Code examples

Comments