A particle animation node used to control the position of a particle over time along a bezier curve.

Static variables

@:value("BezierControlVector3D")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.

@:value("BezierEndVector3D")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

@:value({ endPoint : null, controlPoint : null })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

Inherited Variables

Defined by ParticleNodeBase

read onlydataLength:Int

read onlymode:Int

read onlyoneData:Vector<Float>

read onlypriority:Int

Defined by AnimationNodeBase

Defined by NamedAssetBase

read onlyassetFullPath:Array<Dynamic>

read onlyassetNamespace:String

id:String

name:String

read onlyoriginalName:String

Inherited Methods

Defined by ParticleNodeBase

getAGALFragmentCode(pass:MaterialPassBase, animationRegisterCache:AnimationRegisterCache):String

Returns the AGAL code of the particle animation node for use in the fragment shader.

getAGALUVCode(pass:MaterialPassBase, animationRegisterCache:AnimationRegisterCache):String

Returns the AGAL code of the particle animation node for use in the fragment shader when UV coordinates are required.

Defined by AnimationNodeBase

dispose():Void

@inheritDoc

Defined by NamedAssetBase

assetPathEquals(name:String, ns:String):Bool

@:value({ overrideOriginal : true, ns : null })resetAssetPath(name:String, ?ns:String, overrideOriginal:Bool = true):Void