Packageaway3d.events
Classpublic class FaceEvent
InheritanceFaceEvent Inheritance flash.events.Event

Passed as a parameter when a face event occurs

Public Properties
 PropertyDefined by
  face : Face
A reference to the face object that is relevant to the event.
FaceEvent
Public Methods
 MethodDefined by
  
FaceEvent
(type:String, face:Face)
Creates a new FaceEvent object.
FaceEvent
  
clone():Event
Creates a copy of the FaceEvent object and sets the value of each property to match that of the original.
FaceEvent
Public Constants
 ConstantDefined by
  MAPPING_CHANGED : String = "mappingchanged"
[static] Defines the value of the type property of a mappingchanged event object.
FaceEvent
  MATERIAL_CHANGED : String = "materialchanged"
[static] Defines the value of the type property of a materialchanged event object.
FaceEvent
Property detail
faceproperty
public var face:Face

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

Constructor detail
FaceEvent()constructor
public function FaceEvent(type:String, face:Face)Parameters
type:String — The type of the event. Possible values are: FaceEvent.MAPPING_CHANGED and FaceEvent.MATERIAL_CHANGED.
 
face:Face — A reference to the face object that is relevant to the event.
####INIT####
Method detail
clone()method
public override function clone():Event

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

Returns
Event
Constant detail
MAPPING_CHANGEDconstant
public static const MAPPING_CHANGED:String = "mappingchanged"

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

MATERIAL_CHANGEDconstant 
public static const MATERIAL_CHANGED:String = "materialchanged"

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

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

Code examples

Comments