Navigation
API > API/Plugins > API/Plugins/RigVM > API/Plugins/RigVM/RigVMFunctions > API/Plugins/RigVM/RigVMFunctions/Math
Inheritance Hierarchy
- FRigVMStruct
- FRigVMFunction_MathBase
- FRigVMFunction_MathFloatBase
- FRigVMFunction_MathFloatRemap
References
| Module | RigVM |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMFunctions/Math/RigVMFunction_MathFloat.h |
| Include | #include "RigVMFunctions/Math/RigVMFunction_MathFloat.h" |
Syntax
USTRUCT&40;Meta&61;&40;DisplayName&61;"Remap", TemplateName&61;"Remap", Keywords&61;"Rescale,Scale"&41;&41;
struct FRigVMFunction_MathFloatRemap : public FRigVMFunction_MathFloatBase
Remarks
Remaps the given value from a source range to a target range.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bClamp | If set to true the result is clamped to the target range | |
| float | Result | ||
| float | SourceMaximum | ||
| float | SourceMinimum | ||
| float | TargetMaximum | ||
| float | TargetMinimum | ||
| float | Value |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |