Packageaway3d.animators.states
Classpublic class ParticleColorState
InheritanceParticleColorState Inheritance ParticleStateBase Inheritance AnimationStateBase Inheritance Object

...



Public Properties
 PropertyDefined 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
 InheritedneedUpdateTime : Boolean
[read-only]
ParticleStateBase
 InheritedpositionDelta : 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
Protected Properties
 PropertyDefined By
 Inherited_animationNode : AnimationNodeBase
AnimationStateBase
 Inherited_animator : IAnimator
AnimationStateBase
 Inherited_dynamicProperties : Vector.<Vector3D>
ParticleStateBase
 Inherited_dynamicPropertiesDirty : Dictionary
ParticleStateBase
 Inherited_needUpdateTime : Boolean
ParticleStateBase
 Inherited_positionDeltaDirty : Boolean = true
AnimationStateBase
 Inherited_rootDelta : Vector3D
AnimationStateBase
 Inherited_startTime : int
AnimationStateBase
 Inherited_time : int
AnimationStateBase
Public Methods
 MethodDefined By
  
ParticleColorState
 Inherited
offset(startTime:int):void
Resets the start time of the node to a new value.
AnimationStateBase
 Inherited
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
 Inherited
update(time:int):void
Updates the configuration of the node to its current state.
AnimationStateBase
Protected Methods
 MethodDefined By
 Inherited
ParticleStateBase
 Inherited
Updates the node's root delta position
AnimationStateBase
 Inherited
updateTime(time:int):void
Updates the node's internal playhead position.
AnimationStateBase
Property Detail
cycleDurationproperty
cycleDuration:Number

Defines the duration of the animation in seconds, used as a period independent of particle duration when in global mode. Defaults to 1.


Implementation
    public function get cycleDuration():Number
    public function set cycleDuration(value:Number):void
cyclePhaseproperty 
cyclePhase:Number

Defines the phase of the cycle in degrees, used as the starting offset of the cycle when in global mode. Defaults to 0.


Implementation
    public function get cyclePhase():Number
    public function set cyclePhase(value:Number):void
endColorproperty 
endColor:ColorTransform

Defines the end color transform of the state, when in global mode.


Implementation
    public function get endColor():ColorTransform
    public function set endColor(value:ColorTransform):void
startColorproperty 
startColor:ColorTransform

Defines the start color transform of the state, when in global mode.


Implementation
    public function get startColor():ColorTransform
    public function set startColor(value:ColorTransform):void
Constructor Detail
ParticleColorState()Constructor
public function ParticleColorState(animator:ParticleAnimator, particleColorNode:ParticleColorNode)



Parameters
animator:ParticleAnimator
 
particleColorNode:ParticleColorNode
Method Detail
setRenderState()method
override public function setRenderState(stage3DProxy:Stage3DProxy, renderable:IRenderable, animationSubGeometry:AnimationSubGeometry, animationRegisterCache:AnimationRegisterCache, camera:Camera3D):void

Parameters

stage3DProxy:Stage3DProxy
 
renderable:IRenderable
 
animationSubGeometry:AnimationSubGeometry
 
animationRegisterCache:AnimationRegisterCache
 
camera:Camera3D