#include <glfxscene.h>
Public Member Functions | |
| bool | IsRotationOnly () const |
| void | Blend (Frame &result, const Frame &other, float otherWeight) const |
| void | BlendRotation (Quat &result, const Frame &other, float otherWeight) const |
| void | ComputeTM (Matrix4 &tm) const |
Public Attributes | |
| Vec3 | pos |
| Quat | rot |
| Vec3 | scl |
| bool GLFX::Scene::Frame::IsRotationOnly | ( | ) | const [inline] |
Check if this frame has only rotation.
| void GLFX::Scene::Frame::Blend | ( | Frame & | result, | |
| const Frame & | other, | |||
| float | otherWeight | |||
| ) | const [inline] |
Blend two animation frames.
| result | resulting animation frame. | |
| other | second frame | |
| otherWeight | amount of other frame influcence (this frame has 1 - otherWeight) |
| void GLFX::Scene::Frame::BlendRotation | ( | Quat & | result, | |
| const Frame & | other, | |||
| float | otherWeight | |||
| ) | const [inline] |
Blends two animation frames rotations.
| result | resulting rotation | |
| other | second frame | |
| otherWeight | amount of other frame influcence (this frame has 1 - otherWeight) |
| void GLFX::Scene::Frame::ComputeTM | ( | Matrix4 & | tm | ) | const [inline] |
Compute transformation matrix for this frame.
| tm | transformation matrix |
Frame translation.
Frame rotation.
Frame scaling.