BP Function library: common linear algebra problems.
More...
#include <BPFunLib_Algebra.h>
|
| static float | RemapFloat (const float Value, float MinIn, float MaxIn, float MinOut, float MaxOut, bool ClampOut=true) |
| | Remap float value to given range with optional clamping.
|
| static double | RemapDouble (const double Value, double MinIn, double MaxIn, double MinOut, double MaxOut, bool ClampOut=true) |
| | Remap double value to given range with optional clamping.
|
| static FVector | RemapVector (const FVector &Value, double MinIn, double MaxIn, double MinOut, double MaxOut, bool ClampOut=true) |
| | Remap vector value to given range with optional clamping.
|
BP Function library: common linear algebra problems.
◆ RemapDouble()
| double UYasiuMathFL_Algebra::RemapDouble |
( |
const double | Value, |
|
|
double | MinIn, |
|
|
double | MaxIn, |
|
|
double | MinOut, |
|
|
double | MaxOut, |
|
|
bool | ClampOut = true ) |
|
static |
Remap double value to given range with optional clamping.
- Parameters
-
| Value | Input value |
| MinIn | Remap from Low |
| MaxIn | Remap from High |
| MinOut | Remap to Low |
| MaxOut | Remap to High |
| ClampOut | Optional Clamping to Output limits |
- Returns
- Value remapped to given range
◆ RemapFloat()
| float UYasiuMathFL_Algebra::RemapFloat |
( |
const float | Value, |
|
|
float | MinIn, |
|
|
float | MaxIn, |
|
|
float | MinOut, |
|
|
float | MaxOut, |
|
|
bool | ClampOut = true ) |
|
static |
Remap float value to given range with optional clamping.
- Parameters
-
| Value | Input value |
| MinIn | Remap from Low |
| MaxIn | Remap from High |
| MinOut | Remap to Low |
| MaxOut | Remap to High |
| ClampOut | Optional Clamping to Output limits |
- Returns
- Value remapped to given range
◆ RemapVector()
| FVector UYasiuMathFL_Algebra::RemapVector |
( |
const FVector & | Value, |
|
|
double | MinIn, |
|
|
double | MaxIn, |
|
|
double | MinOut, |
|
|
double | MaxOut, |
|
|
bool | ClampOut = true ) |
|
static |
Remap vector value to given range with optional clamping.
- Parameters
-
| Value | Input value |
| MinIn | Remap from Low |
| MaxIn | Remap from High |
| MinOut | Remap to Low |
| MaxOut | Remap to High |
| ClampOut | Optional Clamping to Output limits |
- Returns
- Vector remapped to given range
The documentation for this class was generated from the following file: