C# Class Indiefreaks.Xna.Rendering.Instancing.Skinned.InstancedAnimationClip

For instancing, the animation doesn't need to hold all the keyframes. We've got those in our texture. However, we do need to store some data - like the duration of the animation, the start index into the texture, and the frame rate of the animation
显示文件 Open project: Indiefreaks/igf Class Usage Examples

Public Methods

Method Description
InstancedAnimationClip ( System.TimeSpan duration, int animationStartRow, int animationEndRow, int animationFrameRate ) : System

Constructs a new animation clip object.

Method Details

InstancedAnimationClip() public method

Constructs a new animation clip object.
public InstancedAnimationClip ( System.TimeSpan duration, int animationStartRow, int animationEndRow, int animationFrameRate ) : System
duration System.TimeSpan
animationStartRow int
animationEndRow int
animationFrameRate int
return System