Package | away3d.animators.states |
Class | public class ParticleVelocityState |
Inheritance | ParticleVelocityState ParticleStateBase AnimationStateBase Object |
Property | Defined By | ||
---|---|---|---|
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 | ||
velocity : Vector3D
Defines the default velocity vector of the state, used when in global mode. | ParticleVelocityState |
Method | Defined By | ||
---|---|---|---|
ParticleVelocityState | |||
getVelocities():Vector.<Vector3D> | ParticleVelocityState | ||
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] | ParticleVelocityState | ||
setVelocities(value:Vector.<Vector3D>):void | ParticleVelocityState | ||
update(time:int):void
Updates the configuration of the node to its current state. | AnimationStateBase |
velocity | property |
velocity:Vector3D
Defines the default velocity vector of the state, used when in global mode.
public function get velocity():Vector3D
public function set velocity(value:Vector3D):void
ParticleVelocityState | () | Constructor |
public function ParticleVelocityState(animator:ParticleAnimator, particleVelocityNode:ParticleVelocityNode)
animator:ParticleAnimator | |
particleVelocityNode:ParticleVelocityNode |
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> |