Packageaway3d.events
Classpublic class SegmentEvent
InheritanceSegmentEvent Inheritance flash.events.Event

Passed as a parameter when a segment event occurs

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

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

Constructor detail
SegmentEvent()constructor
public function SegmentEvent(type:String, segment:Segment)Parameters
type:String — The type of the event. Possible values are: SegmentEvent.MATERIAL_CHANGED.
 
segment:Segment — A reference to the segment object that is relevant to the event.
Init Parameters
Method detail
clone()method
public override function clone():Event

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

Returns
Event
Constant detail
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 'away3d.events.SegmentEvent'

Code examples

Comments