| Package | away3d.animators.states |
| Class | public class ParticlePositionState |
| Inheritance | ParticlePositionState ParticleStateBase AnimationStateBase Object |
| Property | Defined By | ||
|---|---|---|---|
![]() | needUpdateTime : Boolean [read-only] | ParticleStateBase | |
| position : Vector3D
Defines the position of the particle when in global mode. | ParticlePositionState | ||
![]() | 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 | ||
|---|---|---|---|
| ParticlePositionState | |||
getPositions():Vector.<Vector3D> | ParticlePositionState | ||
![]() | 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 | |
setPositions(value:Vector.<Vector3D>):void | ParticlePositionState | ||
setRenderState(stage3DProxy:Stage3DProxy, renderable:IRenderable, animationSubGeometry:AnimationSubGeometry, animationRegisterCache:AnimationRegisterCache, camera:Camera3D):void [override]
| ParticlePositionState | ||
![]() | update(time:int):void
Updates the configuration of the node to its current state. | AnimationStateBase | |
| position | property |
position:Vector3DDefines the position of the particle when in global mode. Defaults to 0,0,0.
public function get position():Vector3D public function set position(value:Vector3D):void| ParticlePositionState | () | Constructor |
public function ParticlePositionState(animator:ParticleAnimator, particlePositionNode:ParticlePositionNode)animator:ParticleAnimator | |
particlePositionNode:ParticlePositionNode |
| getPositions | () | method |
public function getPositions():Vector.<Vector3D>Returns
Vector.<Vector3D> |
| setPositions | () | method |
public function setPositions(value:Vector.<Vector3D>):voidParameters
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 |