View source
class ParticleRotationalVelocityNode
package away3d.animators.nodes
extends ParticleNodeBase › AnimationNodeBase › NamedAssetBase
Available on all platforms
A particle animation node used to set the starting rotational velocity of a particle.
Static variables
staticinlineread onlyROTATIONALVELOCITY_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.
Constructor
new(mode:Int, ?rotationalVelocity:Vector3D)
Creates a new ParticleRotationalVelocityNode
Parameters:
mode | Defines whether the mode of operation acts on local properties of a particle or global properties of the node. |
|---|
Methods
getAGALVertexCode(pass:MaterialPassBase, animationRegisterCache:AnimationRegisterCache):String
@inheritDoc