Package | away3d.animators.states |
Class | public class ParticleRotationalVelocityState |
Inheritance | ParticleRotationalVelocityState 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 | ||
rotationalVelocity : Vector3D
Defines the default rotationalVelocity of the state, used when in global mode. | ParticleRotationalVelocityState |
Method | Defined By | ||
---|---|---|---|
ParticleRotationalVelocityState(animator:ParticleAnimator, particleRotationNode:ParticleRotationalVelocityNode) | ParticleRotationalVelocityState | ||
getRotationalVelocities():Vector.<Vector3D> | ParticleRotationalVelocityState | ||
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]
| ParticleRotationalVelocityState | ||
setRotationalVelocities(value:Vector.<Vector3D>):void | ParticleRotationalVelocityState | ||
update(time:int):void
Updates the configuration of the node to its current state. | AnimationStateBase |
rotationalVelocity | property |
rotationalVelocity:Vector3D
Defines the default rotationalVelocity of the state, used when in global mode.
public function get rotationalVelocity():Vector3D
public function set rotationalVelocity(value:Vector3D):void
ParticleRotationalVelocityState | () | Constructor |
public function ParticleRotationalVelocityState(animator:ParticleAnimator, particleRotationNode:ParticleRotationalVelocityNode)
animator:ParticleAnimator | |
particleRotationNode:ParticleRotationalVelocityNode |
getRotationalVelocities | () | method |
public function getRotationalVelocities():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 |
setRotationalVelocities | () | method |
public function setRotationalVelocities(value:Vector.<Vector3D>):void
Parameters
value:Vector.<Vector3D> |