Navigation
API > API/Plugins > API/Plugins/RigVM > API/Plugins/RigVM/RigVMFunctions > API/Plugins/RigVM/RigVMFunctions/Math
Inheritance Hierarchy
- FRigVMStruct
- FRigVMFunction_MathBase
- FRigVMFunction_MathDoubleBase
- FRigVMFunction_MathDoubleClamp
References
| Module | RigVM |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMFunctions/Math/RigVMFunction_MathDouble.h |
| Include | #include "RigVMFunctions/Math/RigVMFunction_MathDouble.h" |
Syntax
USTRUCT&40;Meta&61;&40;DisplayName&61;"Clamp", TemplateName&61;"Clamp", Keywords&61;"Range,Remap"&41;&41;
struct FRigVMFunction_MathDoubleClamp : public FRigVMFunction_MathDoubleBase
Remarks
Clamps the given value within the range provided by minimum and maximum
Variables
| Type | Name | Description | |
|---|---|---|---|
| double | Maximum | ||
| double | Minimum | ||
| double | Result | ||
| double | Value |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |