C# Class VSViewer.FileFormats.Sections.Animation

Afficher le fichier Open project: MercurialForge/VSViewer Class Usage Examples

Méthodes publiques

Свойство Type Description
baseAnimation Animation
jointKeys List>
keyframes List[]
name string
poses System.Vector3[]

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Animation ( ) : System
Résultat System

Animation() public méthode

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

MergeAnimations() public static méthode

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

QueryAnimationTime() public méthode

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
Résultat VSViewer.Common.Transform

SetLengthInSeconds() public méthode

public SetLengthInSeconds ( ) : void
Résultat void

Property Details

baseAnimation public_oe property

public Animation,VSViewer.FileFormats.Sections baseAnimation
Résultat Animation

jointKeys public_oe property

public List> jointKeys
Résultat List>

keyframes public_oe property

public List[] keyframes
Résultat List[]

name public_oe property

public string name
Résultat string

poses public_oe property

public Vector3[],System poses
Résultat System.Vector3[]