| Package | away3d.animators.states |
| Class | public class ParticleSegmentedColorState |
| Inheritance | ParticleSegmentedColorState ParticleStateBase AnimationStateBase Object |
| Property | Defined By | ||
|---|---|---|---|
| endColor : ColorTransform
Defines the end color transform of the state, when in global mode. | ParticleSegmentedColorState | ||
![]() | needUpdateTime : Boolean [read-only] | ParticleStateBase | |
| numSegmentPoint : int [read-only]
Defines the number of segments. | ParticleSegmentedColorState | ||
![]() | positionDelta : Vector3D [read-only]
Returns a 3d vector representing the translation delta of the animating entity for the current timestep of animation
| AnimationStateBase | |
| segmentPoints : Vector.<ColorSegmentPoint>
Defines the key points of color
| ParticleSegmentedColorState | ||
| startColor : ColorTransform
Defines the start color transform of the state, when in global mode. | ParticleSegmentedColorState | ||
| usesMultiplier : Boolean [read-only] | ParticleSegmentedColorState | ||
| usesOffset : Boolean [read-only] | ParticleSegmentedColorState | ||
| Method | Defined By | ||
|---|---|---|---|
ParticleSegmentedColorState(animator:ParticleAnimator, particleSegmentedColorNode:ParticleSegmentedColorNode) | ParticleSegmentedColorState | ||
![]() | offset(startTime:int):void
Resets the start time of the node to a new value. | AnimationStateBase | |
![]() | phase(value:Number):void
Sets the animation phase of the node. | AnimationStateBase | |
setRenderState(stage3DProxy:Stage3DProxy, renderable:IRenderable, animationSubGeometry:AnimationSubGeometry, animationRegisterCache:AnimationRegisterCache, camera:Camera3D):void [override] | ParticleSegmentedColorState | ||
![]() | update(time:int):void
Updates the configuration of the node to its current state. | AnimationStateBase | |
| endColor | property |
endColor:ColorTransformDefines the end color transform of the state, when in global mode.
public function get endColor():ColorTransform public function set endColor(value:ColorTransform):void| numSegmentPoint | property |
numSegmentPoint:int [read-only] Defines the number of segments.
public function get numSegmentPoint():int| segmentPoints | property |
segmentPoints:Vector.<ColorSegmentPoint>Defines the key points of color
public function get segmentPoints():Vector.<ColorSegmentPoint> public function set segmentPoints(value:Vector.<ColorSegmentPoint>):void| startColor | property |
startColor:ColorTransformDefines the start color transform of the state, when in global mode.
public function get startColor():ColorTransform public function set startColor(value:ColorTransform):void| usesMultiplier | property |
usesMultiplier:Boolean [read-only] public function get usesMultiplier():Boolean| usesOffset | property |
usesOffset:Boolean [read-only] public function get usesOffset():Boolean| ParticleSegmentedColorState | () | Constructor |
public function ParticleSegmentedColorState(animator:ParticleAnimator, particleSegmentedColorNode:ParticleSegmentedColorNode)animator:ParticleAnimator | |
particleSegmentedColorNode:ParticleSegmentedColorNode |
| setRenderState | () | method |
override public function setRenderState(stage3DProxy:Stage3DProxy, renderable:IRenderable, animationSubGeometry:AnimationSubGeometry, animationRegisterCache:AnimationRegisterCache, camera:Camera3D):voidParameters
stage3DProxy:Stage3DProxy | |
renderable:IRenderable | |
animationSubGeometry:AnimationSubGeometry | |
animationRegisterCache:AnimationRegisterCache | |
camera:Camera3D |