165 inline void setId(
const string&
id) {
AnimationSetup(Model *model, const string &id, int32_t startFrame, int32_t endFrame, bool loop, const string &overlayFromNodeId, float speed=1.0)
Public constructor.
void setEndFrame(int32_t endFrame)
Set end frame.
void setSpeed(float speed)
Set up animation speed.
const string & getOverlayFromNodeId()
If this is a overlay animation this returns a node id from which node the animation will start in the...
void setId(const string &id)
Set id.
void setStartFrame(int32_t startFrame)
Set start frame.
void setLoop(bool loop)
Set loop.
void setOverlayFromNodeId(const string &overlayFromNodeId)
Set overlay from node id.
bool isOverlayAnimationSetup()
int64_t computeDuration()
Representation of a 3D model.
#define FORBID_CLASS_COPY(CLASS)