| Package | away3d.events |
| Class | public class SpriteEvent |
| Inheritance | SpriteEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| sprite : Sprite3D
A reference to the Billboard object that is relevant to the event. | SpriteEvent | ||
| Method | Defined By | ||
|---|---|---|---|
SpriteEvent(type:String, sprite:Sprite3D)
Creates a new BillboardEvent object. | SpriteEvent | ||
clone():Event [override]
Creates a copy of the BillboardEvent object and sets the value of each property to match that of the original. | SpriteEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| MATERIAL_CHANGED : String = materialChanged [static]
Defines the value of the type property of a materialChanged event object. | SpriteEvent | ||
| sprite | property |
public var sprite:Sprite3DA reference to the Billboard object that is relevant to the event.
| SpriteEvent | () | Constructor |
public function SpriteEvent(type:String, sprite:Sprite3D)
Creates a new BillboardEvent object.
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.
|
| clone | () | method |
override public function clone():EventCreates a copy of the BillboardEvent object and sets the value of each property to match that of the original.
ReturnsEvent |
| MATERIAL_CHANGED | Constant |
public static const MATERIAL_CHANGED:String = materialChangedDefines the value of the type property of a materialChanged event object.