Stage that clamps the frame to a range, or wraps it around the range.
More...
#include <rndanimatable.h>
|
| float | Apply (float fValue) override |
| | Clamp or wrap a frame.
|
| float | Unapply (float fValue) override |
| | Report the frame unchanged.
|
| void | Print (PrnStream &stream) const override |
| | Write the range and the loop flag.
|
| void | Save (BinStream &stream) override |
| | Write the range and the loop flag.
|
| void | Load (BinStream &stream) override |
| | Read the range and the loop flag.
|
| int | Type () override |
| | Report the type tag.
|
| void | Copy (const Filter *pSource) override |
| | Copy another stage.
|
| void | SetMin (float fMin) |
| void | SetMax (float fMax) |
| void | SetLoop (int nLoop) |
Stage that clamps the frame to a range, or wraps it around the range.
◆ Apply()
| float RndAnimatable::MinMaxLoop::Apply |
( |
float | fValue | ) |
|
|
overridevirtual |
Clamp or wrap a frame.
- Parameters
-
- Returns
- The frame in the range.
- Ghidra address:
- NTSC-U/C: 0x0021b890
- Ghidra address:
- PAL: 0x002246a8
Implements RndAnimatable::Filter.
◆ Unapply()
| float RndAnimatable::MinMaxLoop::Unapply |
( |
float | fValue | ) |
|
|
overridevirtual |
Report the frame unchanged.
- Parameters
-
| fValue | The filtered frame. |
- Returns
- fValue.
- Ghidra address:
- NTSC-U/C: 0x0021b938
- Ghidra address:
- PAL: 0x00224750
Implements RndAnimatable::Filter.
◆ Print()
| void RndAnimatable::MinMaxLoop::Print |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write the range and the loop flag.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x0021c260
- Ghidra address:
- PAL: 0x00225078
Implements RndAnimatable::Filter.
◆ Save()
| void RndAnimatable::MinMaxLoop::Save |
( |
BinStream & | stream | ) |
|
|
inlineoverridevirtual |
Write the range and the loop flag.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x0037e880
- Ghidra address:
- PAL: 0x003ecfb0
Implements RndAnimatable::Filter.
◆ Load()
| void RndAnimatable::MinMaxLoop::Load |
( |
BinStream & | stream | ) |
|
|
inlineoverridevirtual |
Read the range and the loop flag.
- Parameters
-
| stream | The stream to read from. |
- Ghidra address:
- NTSC-U/C: 0x0037e900
- Ghidra address:
- PAL: 0x003ed028
Implements RndAnimatable::Filter.
◆ Type()
| int RndAnimatable::MinMaxLoop::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report the type tag.
- Returns
- kFilterMinMaxLoop.
- Ghidra address:
- NTSC-U/C: 0x0037e978
- Ghidra address:
- PAL: 0x003ed090
Implements RndAnimatable::Filter.
◆ Copy()
| void RndAnimatable::MinMaxLoop::Copy |
( |
const Filter * | pSource | ) |
|
|
inlineoverridevirtual |
Copy another stage.
- Parameters
-
| pSource | The stage to copy from. |
- Ghidra address:
- NTSC-U/C: 0x0037e980
- Ghidra address:
- PAL: 0x003ed098
Implements RndAnimatable::Filter.
◆ SetMin()
| void RndAnimatable::MinMaxLoop::SetMin |
( |
float | fMin | ) |
|
|
inline |
- Parameters
-
| fMin | The lower end of the range. |
◆ SetMax()
| void RndAnimatable::MinMaxLoop::SetMax |
( |
float | fMax | ) |
|
|
inline |
- Parameters
-
| fMax | The upper end of the range. |
◆ SetLoop()
| void RndAnimatable::MinMaxLoop::SetLoop |
( |
int | nLoop | ) |
|
|
inline |
- Parameters
-
| nLoop | Non-zero to wrap around the range rather than clamp. |
The documentation for this class was generated from the following file: