| Package | away3d.animators.states |
| Class | public class ParticleOrbitState |
| Inheritance | ParticleOrbitState ParticleStateBase AnimationStateBase Object |
| Property | Defined By | ||
|---|---|---|---|
| cycleDuration : Number
Defines the duration of the orbit in seconds, used as a period independent of particle duration when in global mode. | ParticleOrbitState | ||
| cyclePhase : Number
Defines the phase of the orbit in degrees, used as the starting offset of the cycle when in global mode. | ParticleOrbitState | ||
| eulers : Vector3D
Defines the euler rotation in degrees, applied to the orientation of the orbit when in global mode. | ParticleOrbitState | ||
![]() | 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 | |
| radius : Number
Defines the radius of the orbit when in global mode. | ParticleOrbitState | ||
| Method | Defined By | ||
|---|---|---|---|
| ParticleOrbitState | |||
![]() | 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] | ParticleOrbitState | ||
![]() | update(time:int):void
Updates the configuration of the node to its current state. | AnimationStateBase | |
| cycleDuration | property |
cycleDuration:NumberDefines the duration of the orbit in seconds, used as a period independent of particle duration when in global mode. Defaults to 1.
public function get cycleDuration():Number public function set cycleDuration(value:Number):void| cyclePhase | property |
cyclePhase:NumberDefines the phase of the orbit in degrees, used as the starting offset of the cycle when in global mode. Defaults to 0.
public function get cyclePhase():Number public function set cyclePhase(value:Number):void| eulers | property |
eulers:Vector3DDefines the euler rotation in degrees, applied to the orientation of the orbit when in global mode.
public function get eulers():Vector3D public function set eulers(value:Vector3D):void| radius | property |
radius:NumberDefines the radius of the orbit when in global mode. Defaults to 100.
public function get radius():Number public function set radius(value:Number):void| ParticleOrbitState | () | Constructor |
public function ParticleOrbitState(animator:ParticleAnimator, particleOrbitNode:ParticleOrbitNode)animator:ParticleAnimator | |
particleOrbitNode:ParticleOrbitNode |
| setRenderState | () | method |
override public function setRenderState(stage3DProxy:Stage3DProxy, renderable:IRenderable, animationSubGeometry:AnimationSubGeometry, animationRegisterCache:AnimationRegisterCache, camera:Camera3D):voidParameters
stage3DProxy:Stage3DProxy | |
renderable:IRenderable | |
animationSubGeometry:AnimationSubGeometry | |
animationRegisterCache:AnimationRegisterCache | |
camera:Camera3D |