FCDAnimationMKey Class Reference

A simple multi-dimensional animation key. More...

#include <FCDAnimationKey.h>

Inheritance diagram for FCDAnimationMKey:

FCDAnimationMKeyBezier FCDAnimationMKeyTCB List of all members.

Public Member Functions

 FCDAnimationMKey (uint32 dimension)
 Constructor.
virtual ~FCDAnimationMKey ()
 Destructor.
uint32 GetDimension () const
 Retrieves the number of dimensions for this key.

Public Attributes

float input
 The key input.
uint32 interpolation
 The key interpolation type.
float * output
 The multi-dimensional key output.

Detailed Description

A simple multi-dimensional animation key.

This class is the base for the more complex multi-dimensional keys and it is used directly for linear and step multi-dimensional keys.


Constructor & Destructor Documentation

FCDAnimationMKey::FCDAnimationMKey uint32  dimension  ) 
 

Constructor.

Do not use directly. Instead call FCDAnimationMultiCurve::AddKey(FUDaeInterpolation::LINEAR) or FCDAnimationMultiCurve::AddKey(FUDaeInterpolation::STEP).

Parameters:
dimension The number of dimension to the key output.


Member Function Documentation

uint32 FCDAnimationMKey::GetDimension  )  const [inline]
 

Retrieves the number of dimensions for this key.

Returns:
The number of dimensions.


Member Data Documentation

float FCDAnimationMKey::input
 

The key input.

Typically, this will be a time value, in seconds. For driven curves, the dimension of this value will depend on the driver.

uint32 FCDAnimationMKey::interpolation
 

The key interpolation type.

See also:
FUDaeInterpolation::Interpolation


The documentation for this class was generated from the following file:
Generated on Thu Feb 14 16:58:37 2008 for FCollada by  doxygen 1.4.6-NO