C# Class VSViewer.FileFormats.Sections.Animation

ファイルを表示 Open project: MercurialForge/VSViewer Class Usage Examples

Public Properties

Property Type Description
baseAnimation Animation
jointKeys List>
keyframes List[]
name string
poses System.Vector3[]

Public Methods

Method Description
Animation ( ) : System
Animation ( Animation Anim ) : System

Creates a non-destrctive copy of the original animation

MergeAnimations ( Animation beginning, Animation end ) : Animation

Returns a single animation comprised of the beginning and end

QueryAnimationTime ( float queryTime, int jointIndex ) : Transform

Query the animation at the queryTime in seconds. Returns a local spaced Transform for jointIndex.

SetLengthInSeconds ( ) : void

Private Methods

Method Description
Initialize ( ) : void
RestartAniamtion ( ) : void

Resets the keyframes to their initial states. Causes a pop in the loop, but allows animations to restart.

Method Details

Animation() public method

public Animation ( ) : System
return System

Animation() public method

Creates a non-destrctive copy of the original animation
public Animation ( Animation Anim ) : System
Anim Animation
return System

MergeAnimations() public static method

Returns a single animation comprised of the beginning and end
public static MergeAnimations ( Animation beginning, Animation end ) : Animation
beginning Animation
end Animation
return Animation

QueryAnimationTime() public method

Query the animation at the queryTime in seconds. Returns a local spaced Transform for jointIndex.
public QueryAnimationTime ( float queryTime, int jointIndex ) : Transform
queryTime float
jointIndex int
return VSViewer.Common.Transform

SetLengthInSeconds() public method

public SetLengthInSeconds ( ) : void
return void

Property Details

baseAnimation public_oe property

public Animation,VSViewer.FileFormats.Sections baseAnimation
return Animation

jointKeys public_oe property

public List> jointKeys
return List>

keyframes public_oe property

public List[] keyframes
return List[]

name public_oe property

public string name
return string

poses public_oe property

public Vector3[],System poses
return System.Vector3[]