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