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