A particle animation node used to apply a constant acceleration vector to the motion of a particle.

Static variables

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

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

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