Package | away3d.animators.nodes |
Class | public class SkeletonClipNode |
Inheritance | SkeletonClipNode ![]() ![]() ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | assetFullPath : Array [read-only] | NamedAssetBase | |
![]() | assetNamespace : String [read-only] | NamedAssetBase | |
![]() | assetType : String [read-only]
| AnimationNodeBase | |
![]() | durations : Vector.<uint> [read-only]
Returns a vector of time values representing the duration (in milliseconds) of each animation frame in the clip. | AnimationClipNodeBase | |
![]() | fixedFrameRate : Boolean = true | AnimationClipNodeBase | |
frames : Vector.<SkeletonPose> [read-only]
Returns a vector of skeleton poses representing the pose of each animation frame in the clip. | SkeletonClipNode | ||
highQuality : Boolean = false
Determines whether to use SLERP equations (true) or LERP equations (false) in the calculation
of the output skeleton pose. | SkeletonClipNode | ||
![]() | lastFrame : uint [read-only] | AnimationClipNodeBase | |
![]() | looping : Boolean
Determines whether the contents of the animation node have looping characteristics enabled. | AnimationClipNodeBase | |
![]() | name : String | NamedAssetBase | |
![]() | originalName : String [read-only]
The original name used for this asset in the resource (e.g. | NamedAssetBase | |
![]() | stateClass : Class [read-only] | AnimationNodeBase | |
![]() | stitchFinalFrame : Boolean
Defines if looping content blends the final frame of animation data with the first (true) or works on the
assumption that both first and last frames are identical (false). | AnimationClipNodeBase | |
![]() | totalDelta : Vector3D [read-only] | AnimationClipNodeBase | |
![]() | totalDuration : uint [read-only] | AnimationClipNodeBase |
Method | Defined By | ||
---|---|---|---|
Creates a new SkeletonClipNode object. | SkeletonClipNode | ||
addFrame(skeletonPose:SkeletonPose, duration:uint):void
Adds a skeleton pose frame to the internal timeline of the animation node. | SkeletonClipNode | ||
![]() | assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | |
![]() | dispose():void
Cleans up resources used by this asset. | AnimationNodeBase | |
SkeletonClipNode | |||
![]() | resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase |
Method | Defined By | ||
---|---|---|---|
updateStitch():void [override]
Updates the node's final frame stitch state. | SkeletonClipNode |
frames | property |
frames:Vector.<SkeletonPose>
[read-only] Returns a vector of skeleton poses representing the pose of each animation frame in the clip.
public function get frames():Vector.<SkeletonPose>
highQuality | property |
public var highQuality:Boolean = false
Determines whether to use SLERP equations (true) or LERP equations (false) in the calculation of the output skeleton pose. Defaults to false.
SkeletonClipNode | () | Constructor |
public function SkeletonClipNode()
Creates a new SkeletonClipNode
object.
addFrame | () | method |
public function addFrame(skeletonPose:SkeletonPose, duration:uint):void
Adds a skeleton pose frame to the internal timeline of the animation node.
Parameters
skeletonPose:SkeletonPose — The skeleton pose object to add to the timeline of the node.
| |
duration:uint — The specified duration of the frame in milliseconds.
|
getAnimationState | () | method |
public function getAnimationState(animator:IAnimator):SkeletonClipState
Parameters
animator:IAnimator |
SkeletonClipState |
updateStitch | () | method |
override protected function updateStitch():void
Updates the node's final frame stitch state.