A particle animation node used to control the rotation of a particle to face to a position

Static variables

@:value("RotateToPositionVector3D")staticinlineread onlyPOSITION_VECTOR3D:String = "RotateToPositionVector3D"

Reference for the position the particle will rotate to face for a single particle (when in local property mode). Expects a Vector3D object representing the position that the particle must face.

Constructor

@:value({ position : null })new(mode:Int, ?position:Vector3D)

Creates a new ParticleRotateToPositionNode

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