Navigation
API > API/Runtime > API/Runtime/TimeManagement
Represents a linear function: f(x) = a*x + b
| Name | FLinearFunction |
| Type | struct |
| Header File | /Engine/Source/Runtime/TimeManagement/Public/Misc/LinearFunction.h |
| Include Path | #include "Misc/LinearFunction.h" |
Syntax
struct FLinearFunction
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Offset | double | The b in "f(x) = a*x + b" | Misc/LinearFunction.h | |
| Slope | double | The a in "f(x) = a*x + b" | Misc/LinearFunction.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
double Evaluate
(
double X |
Computes the function value using X as input. | Misc/LinearFunction.h |