![]() |
SLProject 4.0.000
|
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.
| SLTransformKeyframe::SLTransformKeyframe | ( | const SLAnimTrack * | parent, |
| SLfloat | time | ||
| ) |
Constructor for specialized transform keyframes.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |