ParticleAnimationSet
The animation data set used by particle-based animators, containing particle animation data.
Inherited from AnimationSetBase -> EventDispatcher.
Can be created with method new:
Lib.Away3D.Animators.ParticleAnimationSet.new(usesDuration, usesLooping, usesDelay) |
Creates a new ParticleAnimationSet |
usesDuration - (default = false) - usesDuration Defines whether the animation set uses the duration data in its static properties function to determine how long a particle is visible for. Boolean. Defaults to false. usesLooping - (default = false) - usesLooping Defines whether the animation set uses a looping timeframe for each particle determined by the startTime, duration and delay data in its static properties function. Boolean. Defaults to false. Requires usesDuration to be true. usesDelay - (default = false) - usesDelay Defines whether the animation set uses the delay data in its static properties function to determine how long a particle is hidden for. Boolean. Defaults to false. Requires usesLooping to be true. |
Created ParticleAnimationSet object has properties:
hasBillboard |
Boolean |
hasColorAddNode |
Boolean |
hasColorMulNode |
Boolean |
hasUVNode |
Boolean |
initParticleFunc |
Function. Initialiser function for static particle properties. |
needVelocity |
Boolean |
particleNodes |
[read-only] Returns a vector of the particle animation nodes contained within the set. Vector array of (ParticleNodeBase) |
usesCPU |
[override] [read-only] Indicates whether the properties of the animation data contained within the set combined with the vertex registers aslready in use on shading materials allows the animation data to utilise GPU calls. Boolean |
methods:
activate(stage3DProxy, pass) |
|
stage3DProxy - (Stage3DProxy) pass - (MaterialPassBase) |
addAnimation(node) |
[override] Adds an animation state object to the aniamtion data set under the given name. |
node - The name under which the animation state object will be stored. (AnimationNodeBase) |
cancelGPUCompatibility() |
[override] |
|
deactivate(stage3DProxy, pass) |
|
stage3DProxy - (Stage3DProxy) pass - (MaterialPassBase) |
dispose() |
[override] |
|
doneAGALCode(pass) |
|
pass - (MaterialPassBase) |
getAGALFragmentCode(pass, shadedTarget, profile) |
|
pass - (MaterialPassBase) shadedTarget - String profile - String |
getAGALUVCode(pass, UVSource, UVTarget) |
|
pass - (MaterialPassBase) UVSource -String UVTarget -:String |
getAGALVertexCode(pass, sourceRegisters, targetRegisters, profile) |
|
pass - (MaterialPassBase) sourceRegisters - Vector array of String targetRegisters - Vector array of String profile - String |
Created with the Personal Edition of HelpNDoc: Write eBooks for the Kindle