View source
class ParticleAccelerationNode
package away3d.animators.nodes
extends ParticleNodeBase › AnimationNodeBase › NamedAssetBase
Available on all platforms
A particle animation node used to apply a constant acceleration vector to the motion of a particle.
Static variables
staticinlineread onlyACCELERATION_VECTOR3D:String = "AccelerationVector3D"
Reference for acceleration node properties on a single particle (when in local property mode).
Expects a Vector3D object representing the direction of acceleration on the particle.
Constructor
new(mode:Int, ?acceleration:Vector3D)
Creates a new ParticleAccelerationNode
Parameters:
mode | Defines whether the mode of operation acts on local properties of a particle or global properties of the node. |
|---|---|
[optional] | acceleration Defines the default acceleration vector of the node, used when in global mode. |
Methods
getAGALVertexCode(pass:MaterialPassBase, animationRegisterCache:AnimationRegisterCache):String
@inheritDoc