| Package | away3d.animators.states |
| Class | public class ParticleColorState |
| Inheritance | ParticleColorState ParticleStateBase AnimationStateBase Object |
| Property | Defined By | ||
|---|---|---|---|
| cycleDuration : Number
Defines the duration of the animation in seconds, used as a period independent of particle duration when in global mode. | ParticleColorState | ||
| cyclePhase : Number
Defines the phase of the cycle in degrees, used as the starting offset of the cycle when in global mode. | ParticleColorState | ||
| endColor : ColorTransform
Defines the end color transform of the state, when in global mode. | ParticleColorState | ||
![]() | needUpdateTime : Boolean [read-only] | ParticleStateBase | |
![]() | positionDelta : Vector3D [read-only]
Returns a 3d vector representing the translation delta of the animating entity for the current timestep of animation
| AnimationStateBase | |
| startColor : ColorTransform
Defines the start color transform of the state, when in global mode. | ParticleColorState | ||
| Method | Defined By | ||
|---|---|---|---|
| ParticleColorState | |||
![]() | 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] | ParticleColorState | ||
![]() | update(time:int):void
Updates the configuration of the node to its current state. | AnimationStateBase | |
| cycleDuration | property |
cycleDuration:NumberDefines the duration of the animation in seconds, used as a period independent of particle duration when in global mode. Defaults to 1.
public function get cycleDuration():Number public function set cycleDuration(value:Number):void| cyclePhase | property |
cyclePhase:NumberDefines the phase of the cycle in degrees, used as the starting offset of the cycle when in global mode. Defaults to 0.
public function get cyclePhase():Number public function set cyclePhase(value:Number):void| 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| 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| ParticleColorState | () | Constructor |
public function ParticleColorState(animator:ParticleAnimator, particleColorNode:ParticleColorNode)animator:ParticleAnimator | |
particleColorNode:ParticleColorNode |
| 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 |