Polygon Crucher SDK - Documentation
Documentation
Loading...
Searching...
No Matches
C3DAnimatable Class Referenceabstract

C3DAnimatable is the base class for any object which inherits an animation. More...

Detailed Description

C3DAnimatable is the base class for any object which inherits an animation.

A C3DScene is not directly animatable but inherits animation as it contains C3DSceneNode which are animated. Any classe which derive from C3DKeyframable are animatable.

#include <3DAnimatable.h>

Inheritance diagram for C3DAnimatable:
C3DKeyframable C3DScene C3DMaterial C3DSceneNode CMaterialMap C3DPbrMaterial C3DStandardMaterial

Public Types

enum  FindKey { KEYFRAME_PREV = 0x01 , KEYFRAME_NEXT = 0x02 , KEYFRAME_SAME = 0x04 }
 

Public Member Functions

int GetKeyTime (int time, unsigned int pos, longuint classid=KEYFRAME_NULLID)
 
virtual CTimeRange GetTimeRange (longuint classid=KEYFRAME_NULLID) const =0
 
virtual const C3DKeyframeGetConstKey (int time, unsigned int pos, longuint classid=KEYFRAME_NULLID, int *findKeyTime=NULL) const =0
 

Member Enumeration Documentation

◆ FindKey

Enumerator
KEYFRAME_PREV 

Retrieves closest keyframe after the given time.

KEYFRAME_NEXT 

Retrieves closest keyframe before the given time.

KEYFRAME_SAME 

Retrieves keyframe at the given time.

Member Function Documentation

◆ GetConstKey()

virtual const C3DKeyframe * C3DAnimatable::GetConstKey ( int  time,
unsigned int  pos,
longuint  classid = KEYFRAME_NULLID,
int findKeyTime = NULL 
) const
pure virtual

Implemented in C3DKeyframable.


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