Provides an abstract base object for particle animation nodes. Do not create it directly using method new.


Created ParticleNodeBase object has properties:

dataLength

[read-only] Returns the length of the data used by the node when in LOCAL_STATIC mode. (Int)

mode

[read-only] Returns the property mode of the particle animation node. (ParticlePropertiesMode)

oneData

[read-only] Returns the generated data vector array of Floats of the node after one particle pass during the generation of all local static data of the particle animation set.

priority

[read-only] Returns the priority of the particle animation node, used to order the agal generated in a particle animation set. (Int)


methods:

getAGALFragmentCode(pass, animationRegisterCache)

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

pass - MaterialPassBase 

animationRegisterCache - AnimationRegisterCache

getAGALUVCode(pass, animationRegisterCache)

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

pass - MaterialPassBase 

animationRegisterCache - AnimationRegisterCache

getAGALVertexCode(pass, animationRegisterCache)

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

pass - MaterialPassBase 

animationRegisterCache - AnimationRegisterCache

Created with the Personal Edition of HelpNDoc: Free EPub and documentation generator