Navigation
API > API/Plugins > API/Plugins/RigVM
Clamps the given value within the range provided by minimum and maximum
| Name | FRigVMFunction_MathIntClamp |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMFunctions/Math/RigVMFunction_MathInt.h |
| Include Path | #include "RigVMFunctions/Math/RigVMFunction_MathInt.h" |
Syntax
USTRUCT (Meta=(DisplayName="Clamp", TemplateName="Clamp", Keywords="Range,Remap"))
struct FRigVMFunction_MathIntClamp : public FRigVMFunction_MathIntBase
Inheritance Hierarchy
- FRigVMStruct → FRigVMFunction_MathBase → FRigVMFunction_MathIntBase → FRigVMFunction_MathIntClamp
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigVMFunction_MathIntClamp() |
RigVMFunctions/Math/RigVMFunction_MathInt.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Maximum | int32 | RigVMFunctions/Math/RigVMFunction_MathInt.h |
|
|
| Minimum | int32 | RigVMFunctions/Math/RigVMFunction_MathInt.h |
|
|
| Result | int32 | RigVMFunctions/Math/RigVMFunction_MathInt.h |
|
|
| Value | int32 | RigVMFunctions/Math/RigVMFunction_MathInt.h |
|
Functions
Public
Overridden from FRigVMStruct
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
Execute logic for this struct | RigVMFunctions/Math/RigVMFunction_MathInt.h |