SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
SLTransformKeyframe is a specialized SLKeyframe for node transformations. More...
#include <SLAnimKeyframe.h>
Public Member Functions | |
SLTransformKeyframe (const SLAnimTrack *parent, SLfloat time) | |
void | translation (const SLVec3f &t) |
void | rotation (const SLQuat4f &r) |
void | scale (const SLVec3f &s) |
const SLVec3f & | translation () const |
const SLQuat4f & | rotation () const |
const SLVec3f & | scale () const |
Public Member Functions inherited from SLAnimKeyframe | |
SLAnimKeyframe (const SLAnimTrack *parent, SLfloat time) | |
bool | operator< (const SLAnimKeyframe &other) const |
void | time (SLfloat t) |
SLfloat | time () const |
SLbool | isValid () const |
Protected Attributes | |
SLVec3f | _translation |
SLQuat4f | _rotation |
SLVec3f | _scale |
Protected Attributes inherited from SLAnimKeyframe | |
const SLAnimTrack * | _parentTrack |
owning animation track for this keyframe More... | |
SLfloat | _time |
temporal position in local time relative to the keyframes parent clip in seconds More... | |
SLbool | _isValid |
is this keyframe in use inside its parent track More... | |
SLTransformKeyframe is a specialized SLKeyframe for node transformations.
Keeps track of translation, rotation and scale.
Definition at line 45 of file SLAnimKeyframe.h.
SLTransformKeyframe::SLTransformKeyframe | ( | const SLAnimTrack * | parent, |
SLfloat | time | ||
) |
Constructor for specialized transform keyframes.
Definition at line 29 of file SLAnimKeyframe.cpp.
|
inline |
Definition at line 58 of file SLAnimKeyframe.h.
Definition at line 53 of file SLAnimKeyframe.h.
|
inline |
Definition at line 59 of file SLAnimKeyframe.h.
Definition at line 54 of file SLAnimKeyframe.h.
|
inline |
Definition at line 57 of file SLAnimKeyframe.h.
Definition at line 52 of file SLAnimKeyframe.h.
|
protected |
Definition at line 63 of file SLAnimKeyframe.h.
|
protected |
Definition at line 64 of file SLAnimKeyframe.h.
|
protected |
Definition at line 62 of file SLAnimKeyframe.h.