Package | away3d.animators.nodes |
Class | public class ParticleTimeNode |
Inheritance | ParticleTimeNode ParticleNodeBase AnimationNodeBase NamedAssetBase flash.events.EventDispatcher |
Method | Defined By | ||
---|---|---|---|
ParticleTimeNode(usesDuration:Boolean = false, usesLooping:Boolean = false, usesDelay:Boolean = false)
Creates a new ParticleTimeNode
| ParticleTimeNode | ||
assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | ||
dispose():void
Cleans up resources used by this asset. | AnimationNodeBase | ||
Returns the AGAL code of the particle animation node for use in the fragment shader. | ParticleNodeBase | ||
Returns the AGAL code of the particle animation node for use in the fragment shader when UV coordinates are required. | ParticleNodeBase | ||
[override]
Returns the AGAL code of the particle animation node for use in the vertex shader. | ParticleTimeNode | ||
ParticleTimeNode | |||
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase |
ParticleTimeNode | () | Constructor |
public function ParticleTimeNode(usesDuration:Boolean = false, usesLooping:Boolean = false, usesDelay:Boolean = false)
Creates a new ParticleTimeNode
usesDuration:Boolean (default = false ) — usesDuration Defines whether the node uses the duration data in the static properties function to determine how long a particle is visible for. Defaults to false.
| |
usesLooping:Boolean (default = false ) — usesDelay Defines whether the node uses the delay data in the static properties function to determine how long a particle is hidden for. Defaults to false. Requires usesDuration to be true.
| |
usesDelay:Boolean (default = false ) — usesLooping Defines whether the node creates a looping timeframe for each particle determined by the startTime , duration and delay data in the static properties function. Defaults to false. Requires usesLooping to be true.
|
generatePropertyOfOneParticle | () | method |
override arcane function generatePropertyOfOneParticle(param:ParticleProperties):void
Called internally by the particle animation set when assigning the set of static properties originally defined by the initParticleFunc of the set.
Parameters
param:ParticleProperties |
getAGALVertexCode | () | method |
override public function getAGALVertexCode(pass:MaterialPassBase, animationRegisterCache:AnimationRegisterCache):String
Returns the AGAL code of the particle animation node for use in the vertex shader.
Parameters
pass:MaterialPassBase | |
animationRegisterCache:AnimationRegisterCache |
String |
getAnimationState | () | method |
public function getAnimationState(animator:IAnimator):ParticleTimeState
Parameters
animator:IAnimator |
ParticleTimeState |