| Package | away3d.animators.nodes |
| Class | public class ParticleSegmentedColorNode |
| Inheritance | ParticleSegmentedColorNode ParticleNodeBase AnimationNodeBase NamedAssetBase flash.events.EventDispatcher |
| Method | Defined By | ||
|---|---|---|---|
ParticleSegmentedColorNode(usesMultiplier:Boolean, usesOffset:Boolean, numSegmentPoint:int, startColor:ColorTransform, endColor:ColorTransform, segmentPoints:Vector.<ColorSegmentPoint>) | ParticleSegmentedColorNode | ||
![]() | 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. | ParticleSegmentedColorNode | ||
![]() | getParticleNodeName(particleNodeClass:Object, particleNodeMode:uint):String [static]
| ParticleNodeBase | |
![]() | resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase | |
| ParticleSegmentedColorNode | () | Constructor |
public function ParticleSegmentedColorNode(usesMultiplier:Boolean, usesOffset:Boolean, numSegmentPoint:int, startColor:ColorTransform, endColor:ColorTransform, segmentPoints:Vector.<ColorSegmentPoint>)usesMultiplier:Boolean | |
usesOffset:Boolean | |
numSegmentPoint:int | |
startColor:ColorTransform | |
endColor:ColorTransform | |
segmentPoints:Vector.<ColorSegmentPoint> |
| 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 |