Package | away3d.animators.states |
Class | public class UVClipState |
Inheritance | UVClipState AnimationClipState AnimationStateBase Object |
Implements | IUVAnimationState |
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 | ||
currentUVFrame : UVAnimationFrame [read-only]
Returns the current UV frame of animation in the clip based on the internal playhead position. | UVClipState | ||
nextFrame : uint [read-only]
Returns the next frame of animation in the clip based on the internal playhead position. | AnimationClipState | ||
nextUVFrame : UVAnimationFrame [read-only]
Returns the next UV frame of animation in the clip based on the internal playhead position. | UVClipState | ||
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 | ||
---|---|---|---|
UVClipState | |||
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. | UVClipState | ||
updatePositionDelta():void
Updates the node's root delta position
| AnimationStateBase | ||
updateTime(time:int):void [override]
Updates the node's internal playhead position. | AnimationClipState |
currentUVFrame | property |
currentUVFrame:UVAnimationFrame
[read-only] Returns the current UV frame of animation in the clip based on the internal playhead position.
public function get currentUVFrame():UVAnimationFrame
nextUVFrame | property |
nextUVFrame:UVAnimationFrame
[read-only] Returns the next UV frame of animation in the clip based on the internal playhead position.
public function get nextUVFrame():UVAnimationFrame
UVClipState | () | Constructor |
public function UVClipState(animator:IAnimator, uvClipNode:UVClipNode)
animator:IAnimator | |
uvClipNode:UVClipNode |
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.