Navigation
API > API/Plugins > API/Plugins/RigVM > API/Plugins/RigVM/RigVMFunctions > API/Plugins/RigVM/RigVMFunctions/Math
Inheritance Hierarchy
- FRigVMStruct
- FRigVMFunction_MathBase
- FRigVMFunction_MathVectorBase
- FRigVMFunction_MathVectorClampLength
References
| Module | RigVM |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMFunctions/Math/RigVMFunction_MathVector.h |
| Include | #include "RigVMFunctions/Math/RigVMFunction_MathVector.h" |
Syntax
USTRUCT&40;
Meta&61;&40;DisplayName&61;"ClampLength", TemplateName&61;"ClampLength", Keywords&61;"Unit,Normalize,Scale"&41;&41;
struct FRigVMFunction_MathVectorClampLength : public FRigVMFunction_MathVectorBase
Remarks
Clamps the length of a given vector between a minimum and maximum
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | MaximumLength | ||
| float | MinimumLength | ||
| FVector | Result | ||
| FVector | Value |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |