| Package | idv.cjcat.stardust.threeD.actions |
| Class | public class BillboardOriented |
| Inheritance | BillboardOriented Action3D Action StardustElement |
For native Stardust 3D engine only.
Default priority = -6;
| Property | Defined by | ||
|---|---|---|---|
![]() | active : Boolean
Denotes if the action is active, true by default.
| Action | |
| factor : Number
How fast the particles align to their velocities, 1 by default.
| BillboardOriented | ||
![]() | mask : int
The action will affect a particle only if it's active and the bitwise AND of the action's mask and the particle's mask is non-zero,
1 by default.
| Action | |
![]() | name : String | StardustElement | |
![]() | needsSortedParticles : Boolean
Tells the emitter whether this action requires that particles must be sorted before the
update() calls. | Action | |
| offset : Number
The rotation angle offset in degrees.
| BillboardOriented | ||
![]() | onAdd : ISignal
Dispatched when the added to an emitter.
| Action | |
![]() | onPriorityChange : ISignal
Dispatched when the action's priority is changed.
| Action | |
![]() | onRemove : ISignal
Dispatched when the removed from an emitter.
| Action | |
![]() | priority : int
Actions will be sorted by the associated emitter according to their priorities.
| Action | |
![]() | skipThisAction : Boolean
Reset to false on each emitter step.
| Action | |
![]() | supports2D : Boolean
Whether this action supports 2D.
| Action | |
![]() | supports3D : Boolean
Whether this action supports 3D.
| Action | |
| Method | Defined by | ||
|---|---|---|---|
|
BillboardOriented(factor:Number = 1, offset:Number = 0)
| BillboardOriented | ||
![]() |
getElementTypeXMLTag():XML
| Action | |
![]() |
getRelatedObjects():Array
[Abstract Method] Returns the related objects of the element.
| StardustElement | |
![]() |
getXMLTag():XML
Returns the root tag of the XML representation.
| StardustElement | |
|
getXMLTagName():String
| BillboardOriented | ||
|
parseXML(xml:XML, builder:XMLBuilder = null):void
| BillboardOriented | ||
![]() |
postUpdate(emitter:Emitter, time:Number):void
[Template Method] This method is called once after each
Emitter.step() method call,
after the update() calls with each particles in the emitter. | Action | |
|
toXML():XML
| BillboardOriented | ||
| BillboardOriented | |||
| factor | property |
public var factor:NumberHow fast the particles align to their velocities, 1 by default.
1 means immediate alignment. 0 means no alignment at all.
| offset | property |
public var offset:NumberThe rotation angle offset in degrees.
| BillboardOriented | () | constructor |
public function BillboardOriented(factor:Number = 1, offset:Number = 0)Parameters
factor:Number (default = 1) |
|
offset:Number (default = 0) |
| getXMLTagName | () | method |
public override function getXMLTagName():String
Returns
String |
| parseXML | () | method |
public override function parseXML(xml:XML, builder:XMLBuilder = null):voidParameters
xml:XML |
|
builder:XMLBuilder (default = null) |
| toXML | () | method |
public override function toXML():XML
Returns
XML |
| update | () | method |
public final override function update(emitter:Emitter, particle:Particle, time:Number):voidParameters
emitter:Emitter |
|
particle:Particle |
|
time:Number |