Packageaway3d.events
Classpublic class SpriteEvent
InheritanceSpriteEvent Inheritance flash.events.Event

Passed as a parameter when a segment event occurs

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

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

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

Creates a copy of the BillboardEvent 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.SpriteEvent'

Code examples

Comments