Packageaway3d.animators.nodes
Classpublic class SkeletonClipNode
InheritanceSkeletonClipNode Inheritance AnimationClipNodeBase Inheritance AnimationNodeBase Inheritance NamedAssetBase Inheritance flash.events.EventDispatcher

A skeleton animation node containing time-based animation data as individual skeleton poses.



Public Properties
 PropertyDefined By
 InheritedassetFullPath : Array
[read-only]
NamedAssetBase
 InheritedassetNamespace : String
[read-only]
NamedAssetBase
 InheritedassetType : String
[read-only]
AnimationNodeBase
 Inheriteddurations : Vector.<uint>
[read-only] Returns a vector of time values representing the duration (in milliseconds) of each animation frame in the clip.
AnimationClipNodeBase
 InheritedfixedFrameRate : 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
 InheritedlastFrame : uint
[read-only]
AnimationClipNodeBase
 Inheritedlooping : Boolean
Determines whether the contents of the animation node have looping characteristics enabled.
AnimationClipNodeBase
 Inheritedname : String
NamedAssetBase
 InheritedoriginalName : String
[read-only] The original name used for this asset in the resource (e.g.
NamedAssetBase
 InheritedstateClass : Class
[read-only]
AnimationNodeBase
 InheritedstitchFinalFrame : 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
 InheritedtotalDelta : Vector3D
[read-only]
AnimationClipNodeBase
 InheritedtotalDuration : uint
[read-only]
AnimationClipNodeBase
Protected Properties
 PropertyDefined By
 Inherited_durations : Vector.<uint>
AnimationClipNodeBase
 Inherited_lastFrame : uint
AnimationClipNodeBase
 Inherited_looping : Boolean = true
AnimationClipNodeBase
 Inherited_numFrames : uint = 0
AnimationClipNodeBase
 Inherited_stateClass : Class
AnimationNodeBase
 Inherited_stitchDirty : Boolean = true
AnimationClipNodeBase
 Inherited_stitchFinalFrame : Boolean = false
AnimationClipNodeBase
 Inherited_totalDelta : Vector3D
AnimationClipNodeBase
 Inherited_totalDuration : uint = 0
AnimationClipNodeBase
Public Methods
 MethodDefined 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
 Inherited
assetPathEquals(name:String, ns:String):Boolean
NamedAssetBase
 Inherited
dispose():void
Cleans up resources used by this asset.
AnimationNodeBase
  
SkeletonClipNode
 Inherited
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void
NamedAssetBase
Protected Methods
 MethodDefined By
  
[override] Updates the node's final frame stitch state.
SkeletonClipNode
Public Constants
 ConstantDefined By
 InheritedDEFAULT_NAMESPACE : String = default
[static]
NamedAssetBase
Property Detail
framesproperty
frames:Vector.<SkeletonPose>  [read-only]

Returns a vector of skeleton poses representing the pose of each animation frame in the clip.


Implementation
    public function get frames():Vector.<SkeletonPose>
highQualityproperty 
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.

Constructor Detail
SkeletonClipNode()Constructor
public function SkeletonClipNode()

Creates a new SkeletonClipNode object.

Method Detail
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

Returns
SkeletonClipState
updateStitch()method 
override protected function updateStitch():void

Updates the node's final frame stitch state.