A particle animation node used to control the UV offset and scale of a particle over time.

Static variables

@:value(1)staticinlineread onlyGLOBAL:Int = 1

Used to set the time node into global property mode.

@:value("x")staticinlineread onlyU_AXIS:String = "x"

@:value("y")staticinlineread onlyV_AXIS:String = "y"

Constructor

@:value({ axis : "x", scale : 1, cycle : 1 })new(mode:Int, cycle:Float = 1, scale:Float = 1, axis:String = "x")

Creates a new ParticleTimeNode

Parameters:

mode

Defines whether the mode of operation acts on local properties of a particle or global properties of the node.

[optional]

cycle Defines whether the time track is in loop mode. Defaults to false.

[optional]

scale Defines whether the time track is in loop mode. Defaults to false.

[optional]

axis Defines whether the time track is in loop mode. Defaults to false.

Variables

axis:String

cycle:Float

scale:Float

Methods

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

@inheritDoc

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.

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

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

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