|
wavelength 1.0.0
|
One transform animation of the path, 0x18 bytes. More...
#include <tnlpath.h>

Public Member Functions | |
| Segment () | |
| Construct a clear segment. | |
| void | Reset () |
| Clear the segment. | |
| void | Xfm (float flTick, float flTime, Transform *pXfm) const |
| Work out the transform of the segment. | |
Public Attributes | |
| RndTransAnim * | mAnim |
| int | mLoop |
| int | mUseTime |
| float | mOffset |
| float | mLoopStart |
| float | mLoopEnd |
One transform animation of the path, 0x18 bytes.
|
inline |
Construct a clear segment.
The TnlPath constructor inlines it.
| void TnlPath::Segment::Reset | ( | ) |
Clear the segment.
| void TnlPath::Segment::Xfm | ( | float | flTick, |
| float | flTime, | ||
| Transform * | pXfm ) const |
Work out the transform of the segment.
A looping segment wraps a frame past mLoopStart into its loop. A filtered frame before the first translation key extends the path from that key along its tangent.
| flTick | The tick of the song. |
| flTime | The time of the song in milliseconds. |
| pXfm | Receives the transform. |
| RndTransAnim* TnlPath::Segment::mAnim |
The animation, or null for no path.
| int TnlPath::Segment::mLoop |
Whether the animation loops between mLoopStart and mLoopEnd.
| int TnlPath::Segment::mUseTime |
Whether the frame follows the time rather than the tick.
| float TnlPath::Segment::mOffset |
The frame of the animation at tick or time 0.
| float TnlPath::Segment::mLoopStart |
The first frame of the loop.
| float TnlPath::Segment::mLoopEnd |
The frame the loop wraps at.