DX::IDXAnimationKey Struct Reference

#include <IDXAnimationKey.h>

Inherits DX::IDXUserData, and DX::IDXGroupAnimOwned.

Inherited by DX::IDXRotationKey, DX::IDXScaleKey, and DX::IDXTranslationKey.

Collaboration diagram for DX::IDXAnimationKey:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual float DXMCALL GetTime () const =0
virtual DXError DXMCALL SetTime (float time)=0


Detailed Description

IDXAnimationKey is the base class for IDXTranslationKey, IDXRotationKey and IDXScaleKey. It contains the time functionality.

Member Function Documentation

virtual float DXMCALL DX::IDXAnimationKey::GetTime (  )  const [pure virtual]

Get the time that this key appears at.

virtual DXError DXMCALL DX::IDXAnimationKey::SetTime ( float  time  )  [pure virtual]

Set the time that this key appears at. This will resort the respective keyset in the IDXGroupAnim

Parameters:
time A new time, which should be > 0.
Returns:
Error_InvalidParam if time was negative.
Error_Success if time was updated.


Generated on Wed Jun 17 17:24:50 2009 for DXMesh API by  doxygen 1.5.7.1