Yasiu Math 1
Collection of mathematic functions that help create game mechanics and procedural tools
Loading...
Searching...
No Matches
UYasiuMathFL_Algebra Class Reference

BP Function library: common linear algebra problems. More...

#include <BPFunLib_Algebra.h>

Inheritance diagram for UYasiuMathFL_Algebra:
UYasiuMathFunctionLibrary

Static Public Member Functions

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.

Detailed Description

BP Function library: common linear algebra problems.

Member Function Documentation

◆ 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
ValueInput value
MinInRemap from Low
MaxInRemap from High
MinOutRemap to Low
MaxOutRemap to High
ClampOutOptional 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
ValueInput value
MinInRemap from Low
MaxInRemap from High
MinOutRemap to Low
MaxOutRemap to High
ClampOutOptional 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
ValueInput value
MinInRemap from Low
MaxInRemap from High
MinOutRemap to Low
MaxOutRemap to High
ClampOutOptional Clamping to Output limits
Returns
Vector remapped to given range

The documentation for this class was generated from the following file: