Package | away3d.animators.nodes |
Class | public class ParticleFollowNode |
Inheritance | ParticleFollowNode ParticleNodeBase AnimationNodeBase NamedAssetBase flash.events.EventDispatcher |
Method | Defined By | ||
---|---|---|---|
ParticleFollowNode(usesPosition:Boolean = true, usesRotation:Boolean = true, smooth:Boolean = false)
Creates a new ParticleFollowNode
| ParticleFollowNode | ||
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. | ParticleFollowNode | ||
ParticleFollowNode | |||
getParticleNodeName(particleNodeClass:Object, particleNodeMode:uint):String [static]
| ParticleNodeBase | ||
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase |
ParticleFollowNode | () | Constructor |
public function ParticleFollowNode(usesPosition:Boolean = true, usesRotation:Boolean = true, smooth:Boolean = false)
Creates a new ParticleFollowNode
usesPosition:Boolean (default = true ) — usesPosition Defines wehether the individual particle reacts to the position of the target.
| |
usesRotation:Boolean (default = true ) — usesRotation Defines wehether the individual particle reacts to the rotation of the target.
| |
smooth:Boolean (default = false ) — smooth Defines wehether the state calculate the interpolated value.
|
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):ParticleFollowState
Parameters
animator:IAnimator |
ParticleFollowState |