ParticleScaleNode
A particle animation node used to control the scale variation of a particle over time.
Inherited from ParticleNodeBase -> AnimationNodeBase -> NamedAssetBase -> EventDispatcher
Can be created using method new:
Lib.Away3D.Animators.Nodes.ParticleScaleNode.new(mode, usesCycle, usesPhase, minScale, maxScale, cycleDuration, cyclePhase) |
Creates a new ParticleScaleNode |
mode - Defines whether the mode of operation acts on local properties of a particle or global properties of the node. (ParticlePropertiesMode) usesCycle - usesCycle Defines whether the node uses the cycleDuration property in the shader to calculate the period of animation independent of particle duration. Boolean. Defaults to false. usesPhase - usesPhase Defines whether the node uses the cyclePhase property in the shader to calculate a starting offset to the animation cycle. Boolean. Defaults to false. minScale - (default = 1) - minScale Defines the default min scale transform of the node, when in global mode. Defaults to 1. maxScale - (default = 1) - maxScale Defines the default max color transform of the node, when in global mode. Defaults to 1. cycleDuration - (default = 1) - cycleDuration Defines the default duration of the animation in seconds, used as a period independent of particle duration when in global mode. Defaults to 1. cyclePhase - (default = 0) - cyclePhase Defines the default phase of the cycle in degrees, used as the starting offset of the cycle when in global mode. Defaults to 0. |
Created ParticleScaleNode object has mrthods:
getAGALVertexCode(pass, animationRegisterCache) |
[override] Returns the AGAL code of the particle animation node for use in the vertex shader. |
pass - (MaterialPassBase) animationRegisterCache - (AnimationRegisterCache) |
getAnimationState(animator) |
Return (ParticleScaleState) object |
animator - IAnimator can be one of ParticleAnimator, SkeletonAnimator, SpriteSheetAnimator, UVAnimator, VertexAnimator |
Created with the Personal Edition of HelpNDoc: Write EPub books for the iPad