class ParticleBezierCurveNode
package away3d.animators.nodes
extends ParticleNodeBase › AnimationNodeBase › NamedAssetBase
Available on all platforms
A particle animation node used to control the position of a particle over time along a bezier curve.
Static variables
staticinlineread onlyBEZIER_CONTROL_VECTOR3D:String = "BezierControlVector3D"
Reference for bezier curve node properties on a single particle (when in local property mode).
Expects a Vector3D object representing the control point position (0, 1, 2) of the curve.
staticinlineread onlyBEZIER_END_VECTOR3D:String = "BezierEndVector3D"
Reference for bezier curve node properties on a single particle (when in local property mode).
Expects a Vector3D object representing the end point position (0, 1, 2) of the curve.
Constructor
new(mode:Int, ?controlPoint:Vector3D, ?endPoint:Vector3D)
Creates a new ParticleBezierCurveNode
Parameters:
mode | Defines whether the mode of operation acts on local properties of a particle or global properties of the node. |
|---|---|
[optional] | controlPoint Defines the default control point of the node, used when in global mode. |
[optional] | endPoint Defines the default end point of the node, used when in global mode. |
Methods
getAGALVertexCode(pass:MaterialPassBase, animationRegisterCache:AnimationRegisterCache):String
@inheritDoc