Packageaway3d.animators.states
Classpublic class ParticleOrbitState
InheritanceParticleOrbitState Inheritance ParticleStateBase Inheritance AnimationStateBase Inheritance Object

...



Public Properties
 PropertyDefined 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
 InheritedneedUpdateTime : Boolean
[read-only]
ParticleStateBase
 InheritedpositionDelta : 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
Protected Properties
 PropertyDefined By
 Inherited_animationNode : AnimationNodeBase
AnimationStateBase
 Inherited_animator : IAnimator
AnimationStateBase
 Inherited_dynamicProperties : Vector.<Vector3D>
ParticleStateBase
 Inherited_dynamicPropertiesDirty : Dictionary
ParticleStateBase
 Inherited_needUpdateTime : Boolean
ParticleStateBase
 Inherited_positionDeltaDirty : Boolean = true
AnimationStateBase
 Inherited_rootDelta : Vector3D
AnimationStateBase
 Inherited_startTime : int
AnimationStateBase
 Inherited_time : int
AnimationStateBase
Public Methods
 MethodDefined By
  
ParticleOrbitState
 Inherited
offset(startTime:int):void
Resets the start time of the node to a new value.
AnimationStateBase
 Inherited
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
 Inherited
update(time:int):void
Updates the configuration of the node to its current state.
AnimationStateBase
Protected Methods
 MethodDefined By
 Inherited
ParticleStateBase
 Inherited
Updates the node's root delta position
AnimationStateBase
 Inherited
updateTime(time:int):void
Updates the node's internal playhead position.
AnimationStateBase
Property Detail
cycleDurationproperty
cycleDuration:Number

Defines the duration of the orbit in seconds, used as a period independent of particle duration when in global mode. Defaults to 1.


Implementation
    public function get cycleDuration():Number
    public function set cycleDuration(value:Number):void
cyclePhaseproperty 
cyclePhase:Number

Defines the phase of the orbit in degrees, used as the starting offset of the cycle when in global mode. Defaults to 0.


Implementation
    public function get cyclePhase():Number
    public function set cyclePhase(value:Number):void
eulersproperty 
eulers:Vector3D

Defines the euler rotation in degrees, applied to the orientation of the orbit when in global mode.


Implementation
    public function get eulers():Vector3D
    public function set eulers(value:Vector3D):void
radiusproperty 
radius:Number

Defines the radius of the orbit when in global mode. Defaults to 100.


Implementation
    public function get radius():Number
    public function set radius(value:Number):void
Constructor Detail
ParticleOrbitState()Constructor
public function ParticleOrbitState(animator:ParticleAnimator, particleOrbitNode:ParticleOrbitNode)



Parameters
animator:ParticleAnimator
 
particleOrbitNode:ParticleOrbitNode
Method Detail
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