Packageaway3d.animators.states
Classpublic class ParticlePositionState
InheritanceParticlePositionState Inheritance ParticleStateBase Inheritance AnimationStateBase Inheritance Object

...



Public Properties
 PropertyDefined By
 InheritedneedUpdateTime : Boolean
[read-only]
ParticleStateBase
  position : Vector3D
Defines the position of the particle when in global mode.
ParticlePositionState
 InheritedpositionDelta : Vector3D
[read-only] Returns a 3d vector representing the translation delta of the animating entity for the current timestep of animation
AnimationStateBase
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
  
ParticlePositionState
  
getPositions():Vector.<Vector3D>
ParticlePositionState
 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
  
setPositions(value:Vector.<Vector3D>):void
ParticlePositionState
  
setRenderState(stage3DProxy:Stage3DProxy, renderable:IRenderable, animationSubGeometry:AnimationSubGeometry, animationRegisterCache:AnimationRegisterCache, camera:Camera3D):void
[override]
ParticlePositionState
 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
positionproperty
position:Vector3D

Defines the position of the particle when in global mode. Defaults to 0,0,0.


Implementation
    public function get position():Vector3D
    public function set position(value:Vector3D):void
Constructor Detail
ParticlePositionState()Constructor
public function ParticlePositionState(animator:ParticleAnimator, particlePositionNode:ParticlePositionNode)



Parameters
animator:ParticleAnimator
 
particlePositionNode:ParticlePositionNode
Method Detail
getPositions()method
public function getPositions():Vector.<Vector3D>

Returns
Vector.<Vector3D>
setPositions()method 
public function setPositions(value:Vector.<Vector3D>):void

Parameters

value:Vector.<Vector3D>

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