Packageaway3d.events
Classpublic class MeshElementEvent
InheritanceMeshElementEvent Inheritance flash.events.Event

Passed as a parameter when a meshelement event occurs

Public Properties
 PropertyDefined by
  element : IMeshElement
A reference to the element object that is relevant to the event.
MeshElementEvent
Public Methods
 MethodDefined by
  
MeshElementEvent
(type:String, element:IMeshElement)
Creates a new MeshElementEvent object.
MeshElementEvent
  
clone():Event
Creates a copy of the MeshElementEvent object and sets the value of each property to match that of the original.
MeshElementEvent
Public Constants
 ConstantDefined by
  VERTEX_CHANGED : String = "vertexchanged"
[static] Defines the value of the type property of a vertexchanged event object.
MeshElementEvent
  VERTEXVALUE_CHANGED : String = "vertexvaluechanged"
[static] Defines the value of the type property of a vertexvaluechanged event object.
MeshElementEvent
  VISIBLE_CHANGED : String = "visiblechanged"
[static] Defines the value of the type property of a visiblechanged event object.
MeshElementEvent
Property detail
elementproperty
public var element:IMeshElement

A reference to the element object that is relevant to the event.

Constructor detail
MeshElementEvent()constructor
public function MeshElementEvent(type:String, element:IMeshElement)Parameters
type:String — The type of the event. Possible values are: MeshElementEvent.VERTEX_CHANGED, MeshElementEvent.VERTEXVALUE_CHANGED and MeshElementEvent.VISIBLE_CHANGED.
 
element:IMeshElement — A reference to the element object that is relevant to the event.
####INIT####
Method detail
clone()method
public override function clone():Event

Creates a copy of the MeshElementEvent object and sets the value of each property to match that of the original.

Returns
Event
Constant detail
VERTEX_CHANGEDconstant
public static const VERTEX_CHANGED:String = "vertexchanged"

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

VERTEXVALUE_CHANGEDconstant 
public static const VERTEXVALUE_CHANGED:String = "vertexvaluechanged"

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

VISIBLE_CHANGEDconstant 
public static const VISIBLE_CHANGED:String = "visiblechanged"

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

Wiki link
Click to go to the wiki page for ####WIKI####

Code examples

Comments