| 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 | ||
|---|---|---|---|
|
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 | ||
| 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:Sprite3D
A reference to the Billboard object that is relevant to the event.
| 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.
|
| 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.
ReturnsEvent |
| MATERIAL_CHANGED | constant |
public static const MATERIAL_CHANGED:String = "materialChanged"
Defines the value of the type property of a materialChanged event object.