igor::iAnimation Class Reference

#include <iAnimation.h>

Inherits igor::iResource.

Public Member Functions

virtual ~iAnimation ()=default
 
bool hasTranslateAnimation () const
 
const iaVector3d getTranslate (float64 t) const
 
bool hasRotateAnimation () const
 
const iaVector3d getRotate (float64 t) const
 
bool hasScaleAnimation () const
 
const iaVector3d getScale (float64 t) const
 
bool hasFrameIndexAnimation () const
 
const uint32 getFrameIndex (float64 t) const
 
const iaTime getStart () const
 
const iaTime getStop () const
 
- Public Member Functions inherited from igor::iResource
virtual ~iResource ()=default
 
bool isValid () const
 
bool isProcessed () const
 
bool isQuiet () const
 
const iaStringgetSource () const
 
const iaString getInfo () const
 
const iResourceIDgetID () const
 
const iaStringgetAlias () const
 
iResourceCacheMode getCacheMode () const
 
const iParametersgetParameters () const
 
const iaStringgetType () const
 

Friends

class iAnimationFactory
 

Additional Inherited Members

- Static Public Member Functions inherited from igor::iResource
static bool extractID (const iParameters &parameters, iResourceID &id, bool quiet=false)
 
- Protected Member Functions inherited from igor::iResource
 iResource (const iParameters &parameters)
 

Detailed Description

animation

available parameters:

  • inherits all parameters from iResource
  • translateAnimation: translate animation data (type: iaKeyFrameGraphVector3d)
  • rotateAnimation: rotate animation data (type: iaKeyFrameGraphVector3d)
  • scaleAnimation: scale animation data (type: iaKeyFrameGraphVector3d)
  • spriteAnimation: sprite frame index animation data (type: iaKeyFrameGraphui)

Constructor & Destructor Documentation

◆ ~iAnimation()

virtual igor::iAnimation::~iAnimation ( )
virtualdefault

does nothing

Member Function Documentation

◆ getFrameIndex()

const uint32 igor::iAnimation::getFrameIndex ( float64  t) const
Returns
frame index value for given t
Parameters
tnormalized time from clip

◆ getRotate()

const iaVector3d igor::iAnimation::getRotate ( float64  t) const
Returns
rotation value for given t
Parameters
tnormalized time from clip

◆ getScale()

const iaVector3d igor::iAnimation::getScale ( float64  t) const
Returns
scale value for given t
Parameters
tnormalized time from clip

◆ getStart()

const iaTime igor::iAnimation::getStart ( ) const
Returns
time of first key frame

◆ getStop()

const iaTime igor::iAnimation::getStop ( ) const
Returns
time of last key frame

◆ getTranslate()

const iaVector3d igor::iAnimation::getTranslate ( float64  t) const
Returns
translate value for given t
Parameters
tnormalized time from clip

◆ hasFrameIndexAnimation()

bool igor::iAnimation::hasFrameIndexAnimation ( ) const
Returns
true if frame index animation is present

◆ hasRotateAnimation()

bool igor::iAnimation::hasRotateAnimation ( ) const
Returns
true if rotate animation is present

◆ hasScaleAnimation()

bool igor::iAnimation::hasScaleAnimation ( ) const
Returns
true if scale animation is present

◆ hasTranslateAnimation()

bool igor::iAnimation::hasTranslateAnimation ( ) const
Returns
true if translate animation is present

Friends And Related Function Documentation

◆ iAnimationFactory

friend class iAnimationFactory
friend

The documentation for this class was generated from the following files: