Package | away3d.animators.states |
Class | public class VertexClipState |
Inheritance | VertexClipState AnimationClipState AnimationStateBase Object |
Implements | IVertexAnimationState |
Property | Defined By | ||
---|---|---|---|
blendWeight : Number [read-only]
Returns a fractional value between 0 and 1 representing the blending ratio of the current playhead position
between the current frame (0) and next frame (1) of the animation. | AnimationClipState | ||
currentFrame : uint [read-only]
Returns the current frame of animation in the clip based on the internal playhead position. | AnimationClipState | ||
currentGeometry : Geometry [read-only]
Returns the current geometry frame of animation in the clip based on the internal playhead position. | VertexClipState | ||
nextFrame : uint [read-only]
Returns the next frame of animation in the clip based on the internal playhead position. | AnimationClipState | ||
nextGeometry : Geometry [read-only]
Returns the current geometry frame of animation in the clip based on the internal playhead position. | VertexClipState | ||
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 | ||
---|---|---|---|
VertexClipState | |||
offset(startTime:int):void
Resets the start time of the node to a new value. | AnimationStateBase | ||
phase(value:Number):void [override]
Sets the animation phase of the node. | AnimationClipState | ||
update(time:int):void [override]
Updates the configuration of the node to its current state. | AnimationClipState |
Method | Defined By | ||
---|---|---|---|
updateFrames():void [override]
Updates the nodes internal playhead to determine the current and next animation frame, and the blendWeight between the two. | VertexClipState | ||
updatePositionDelta():void [override]
Updates the node's root delta position
| VertexClipState | ||
updateTime(time:int):void [override]
Updates the node's internal playhead position. | AnimationClipState |
currentGeometry | property |
currentGeometry:Geometry
[read-only] Returns the current geometry frame of animation in the clip based on the internal playhead position.
public function get currentGeometry():Geometry
nextGeometry | property |
nextGeometry:Geometry
[read-only] Returns the current geometry frame of animation in the clip based on the internal playhead position.
public function get nextGeometry():Geometry
VertexClipState | () | Constructor |
public function VertexClipState(animator:IAnimator, vertexClipNode:VertexClipNode)
animator:IAnimator | |
vertexClipNode:VertexClipNode |
updateFrames | () | method |
override protected function updateFrames():void
Updates the nodes internal playhead to determine the current and next animation frame, and the blendWeight between the two.
updatePositionDelta | () | method |
override protected function updatePositionDelta():void
Updates the node's root delta position