| Package | away3d.animators.nodes |
| Class | public class ParticleInitialColorNode |
| Inheritance | ParticleInitialColorNode ParticleNodeBase AnimationNodeBase NamedAssetBase flash.events.EventDispatcher |
| Method | Defined By | ||
|---|---|---|---|
ParticleInitialColorNode(mode:uint, usesMultiplier:Boolean = true, usesOffset:Boolean = false, initialColor:ColorTransform = null) | ParticleInitialColorNode | ||
![]() | assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | |
![]() | dispose():void
Cleans up resources used by this asset. | AnimationNodeBase | |
![]() |
Returns the AGAL code of the particle animation node for use in the fragment shader. | ParticleNodeBase | |
![]() |
Returns the AGAL code of the particle animation node for use in the fragment shader when UV coordinates are required. | ParticleNodeBase | |
[override]
Returns the AGAL code of the particle animation node for use in the vertex shader. | ParticleInitialColorNode | ||
![]() | getParticleNodeName(particleNodeClass:Object, particleNodeMode:uint):String [static]
| ParticleNodeBase | |
![]() | resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase | |
| Constant | Defined By | ||
|---|---|---|---|
| COLOR_INITIAL_COLORTRANSFORM : String = ColorInitialColorTransform [static]
Reference for color node properties on a single particle (when in local property mode). | ParticleInitialColorNode | ||
![]() | DEFAULT_NAMESPACE : String = default [static] | NamedAssetBase | |
| ParticleInitialColorNode | () | Constructor |
public function ParticleInitialColorNode(mode:uint, usesMultiplier:Boolean = true, usesOffset:Boolean = false, initialColor:ColorTransform = null)mode:uint | |
usesMultiplier:Boolean (default = true) | |
usesOffset:Boolean (default = false) | |
initialColor:ColorTransform (default = null) |
| generatePropertyOfOneParticle | () | method |
override arcane function generatePropertyOfOneParticle(param:ParticleProperties):voidCalled internally by the particle animation set when assigning the set of static properties originally defined by the initParticleFunc of the set.
Parameters
param:ParticleProperties |
| getAGALVertexCode | () | method |
override public function getAGALVertexCode(pass:MaterialPassBase, animationRegisterCache:AnimationRegisterCache):StringReturns the AGAL code of the particle animation node for use in the vertex shader.
Parameters
pass:MaterialPassBase | |
animationRegisterCache:AnimationRegisterCache |
String |
| processAnimationSetting | () | method |
override arcane function processAnimationSetting(particleAnimationSet:ParticleAnimationSet):voidCalled internally by the particle animation set when determining the requirements of the particle animation node AGAL.
Parameters
particleAnimationSet:ParticleAnimationSet |
| COLOR_INITIAL_COLORTRANSFORM | Constant |
public static const COLOR_INITIAL_COLORTRANSFORM:String = ColorInitialColorTransform
Reference for color node properties on a single particle (when in local property mode).
Expects a ColorTransform object representing the color transform applied to the particle.