|
wavelength 1.0.0
|
The keys of one texture stage. More...
#include <rndmatanim.h>
Public Member Functions | |
| Stage () | |
| Construct a stage without keys. | |
| ~Stage ()=default | |
| Release the keys. | |
| void | Print (PrnStream &stream) const |
| Write a description of the keys. | |
| void | Save (BinStream &stream) const |
| Write the keys. | |
| void | Load (BinStream &stream) |
| Read what Save() wrote, or an earlier version of it. | |
| RndMatAnim * | GetMatAnim () const |
| void | SetMatAnim (RndMatAnim *pMatAnim) |
| const std::vector< Key< Vector3 > > & | GetRotKeys () const |
| std::vector< Key< Vector3 > > & | GetRotKeys () |
| void | SetRotKeys (const std::vector< Key< Vector3 > > &keys) |
| const std::vector< Key< Vector3 > > & | GetScaleKeys () const |
| std::vector< Key< Vector3 > > & | GetScaleKeys () |
| void | SetScaleKeys (const std::vector< Key< Vector3 > > &keys) |
| const std::vector< Key< RndTex * > > & | GetTexKeys () const |
| std::vector< Key< RndTex * > > & | GetTexKeys () |
| const std::vector< Key< Vector3 > > & | GetTransKeys () const |
| std::vector< Key< Vector3 > > & | GetTransKeys () |
| void | SetTransKeys (const std::vector< Key< Vector3 > > &keys) |
The keys of one texture stage.
The RTTI includes the nested class name.
|
inline |
Construct a stage without keys.
mMatAnim is left unset, as the binary leaves it. RndMatAnim sets it before use.
|
default |
Release the keys.
| void RndMatAnim::Stage::Print | ( | PrnStream & | stream | ) | const |
Write a description of the keys.
| stream | The stream to write to. |
| void RndMatAnim::Stage::Save | ( | BinStream & | stream | ) | const |
Write the keys.
| stream | The stream to write to. |
| void RndMatAnim::Stage::Load | ( | BinStream & | stream | ) |
Read what Save() wrote, or an earlier version of it.
The version is the one RndMatAnim::Load() read last. An early version stores a texture list in place of the texture keys, which becomes one key per texture at frames 0, 1, 2, and so on.
| stream | The stream to read from. |
|
inline |
|
inline |
| pMatAnim | The animation that has the stage. |
| keys | The texture rotation keys, as Euler angles. |
| keys | The texture scale keys. |
| keys | The texture translation keys. |