Navigation
API > API/Plugins > API/Plugins/RigVM > API/Plugins/RigVM/RigVMFunctions > API/Plugins/RigVM/RigVMFunctions/Math
Inheritance Hierarchy
- FRigVMStruct
- FRigVMFunction_MathBase
- FRigVMFunction_MathVectorBase
- FRigVMFunction_MathVectorClampSpatially
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;"Clamp Spatially", TemplateName&61;"ClampSpatially", Keywords&61;"Collide,Collision"&41;&41;
struct FRigVMFunction_MathVectorClampSpatially : public FRigVMFunction_MathVectorBase
Remarks
Clamps a position using a plane collision, cylindric collision or spherical collision.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TEnumAsByte< EAxis::Type > | Axis | ||
| bool | bDrawDebug | ||
| FLinearColor | DebugColor | ||
| float | DebugThickness | ||
| float | Maximum | ||
| float | Minimum | ||
| FVector | Result | ||
| FTransform | Space | The space this spatial clamp happens within. The input position will be projected into this space. | |
| TEnumAsByte< ERigVMClampSpatialMode::Type > | Type | ||
| FVector | Value |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |