resonance 1.0.1
Loading...
Searching...
No Matches
tnllattice.h
Go to the documentation of this file.
1#pragma once
2
3namespace Rnd {
4class MatAnim;
5} // namespace Rnd
6
20public:
28
36
45 void Start(float flFrame) {
46 mStartFrame = flFrame;
47 }
48
58 void SetFrame(float flFrame);
59
60private:
61 Rnd::MatAnim *mMatAnim; // "lattice.mnm".
62 float mStartFrame; // 1e9 until Start().
63};
Animation of the colours and the texture stages of one material.
Definition matanim.h:49
void Start(float flFrame)
Record the frame the animation starts from.
Definition tnllattice.h:45
void SetFrame(float flFrame)
Drive the animation to the time since the start frame.
TnlLattice()
Resolve "lattice.mnm" and rest it at frame 0.
~TnlLattice()
Return the animation to frame 0.
The rendering engine.
Definition animhelper.h:3