Packageaway3d.animators.states
Classpublic class ParticleSegmentedColorState
InheritanceParticleSegmentedColorState Inheritance ParticleStateBase Inheritance AnimationStateBase Inheritance Object



Public Properties
 PropertyDefined By
  endColor : ColorTransform
Defines the end color transform of the state, when in global mode.
ParticleSegmentedColorState
 InheritedneedUpdateTime : Boolean
[read-only]
ParticleStateBase
  numSegmentPoint : int
[read-only] Defines the number of segments.
ParticleSegmentedColorState
 InheritedpositionDelta : 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
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
  
ParticleSegmentedColorState
 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]
ParticleSegmentedColorState
 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
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
numSegmentPointproperty 
numSegmentPoint:int  [read-only]

Defines the number of segments.


Implementation
    public function get numSegmentPoint():int
segmentPointsproperty 
segmentPoints:Vector.<ColorSegmentPoint>

Defines the key points of color


Implementation
    public function get segmentPoints():Vector.<ColorSegmentPoint>
    public function set segmentPoints(value:Vector.<ColorSegmentPoint>):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
usesMultiplierproperty 
usesMultiplier:Boolean  [read-only]


Implementation
    public function get usesMultiplier():Boolean
usesOffsetproperty 
usesOffset:Boolean  [read-only]


Implementation
    public function get usesOffset():Boolean
Constructor Detail
ParticleSegmentedColorState()Constructor
public function ParticleSegmentedColorState(animator:ParticleAnimator, particleSegmentedColorNode:ParticleSegmentedColorNode)



Parameters
animator:ParticleAnimator
 
particleSegmentedColorNode:ParticleSegmentedColorNode
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