Packageaway3d.animators.states
Classpublic class ParticleVelocityState
InheritanceParticleVelocityState Inheritance ParticleStateBase Inheritance AnimationStateBase Inheritance Object

...



Public Properties
 PropertyDefined By
 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
  velocity : Vector3D
Defines the default velocity vector of the state, used when in global mode.
ParticleVelocityState
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
  
ParticleVelocityState
  
getVelocities():Vector.<Vector3D>
ParticleVelocityState
 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]
ParticleVelocityState
  
setVelocities(value:Vector.<Vector3D>):void
ParticleVelocityState
 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
velocityproperty
velocity:Vector3D

Defines the default velocity vector of the state, used when in global mode.


Implementation
    public function get velocity():Vector3D
    public function set velocity(value:Vector3D):void
Constructor Detail
ParticleVelocityState()Constructor
public function ParticleVelocityState(animator:ParticleAnimator, particleVelocityNode:ParticleVelocityNode)



Parameters
animator:ParticleAnimator
 
particleVelocityNode:ParticleVelocityNode
Method Detail
getVelocities()method
public function getVelocities():Vector.<Vector3D>

Returns
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

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

Parameters

value:Vector.<Vector3D>