Package | away3d.animators.nodes |
Class | public class ParticleRotationalVelocityNode |
Inheritance | ParticleRotationalVelocityNode ParticleNodeBase AnimationNodeBase NamedAssetBase flash.events.EventDispatcher |
Method | Defined By | ||
---|---|---|---|
ParticleRotationalVelocityNode(mode:uint, rotationalVelocity:Vector3D = null)
Creates a new ParticleRotationalVelocityNode
| ParticleRotationalVelocityNode | ||
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. | ParticleRotationalVelocityNode | ||
ParticleRotationalVelocityNode | |||
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase |
Constant | Defined By | ||
---|---|---|---|
DEFAULT_NAMESPACE : String = default [static] | NamedAssetBase | ||
ROTATIONALVELOCITY_VECTOR3D : String = RotationalVelocityVector3D [static]
Reference for rotational velocity node properties on a single particle (when in local property mode). | ParticleRotationalVelocityNode |
ParticleRotationalVelocityNode | () | Constructor |
public function ParticleRotationalVelocityNode(mode:uint, rotationalVelocity:Vector3D = null)
Creates a new ParticleRotationalVelocityNode
mode:uint — Defines whether the mode of operation acts on local properties of a particle or global properties of the node.
| |
rotationalVelocity:Vector3D (default = null )
|
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):ParticleRotationalVelocityState
Parameters
animator:IAnimator |
ParticleRotationalVelocityState |
ROTATIONALVELOCITY_VECTOR3D | Constant |
public static const ROTATIONALVELOCITY_VECTOR3D:String = RotationalVelocityVector3D
Reference for rotational velocity node properties on a single particle (when in local property mode).
Expects a Vector3D
object representing the rotational velocity around an axis of the particle.