Navigation
API > API/Plugins > API/Plugins/RigVM > API/Plugins/RigVM/RigVMFunctions > API/Plugins/RigVM/RigVMFunctions/Math
Inheritance Hierarchy
- FRigVMStruct
- FRigVMFunction_MathBase
- FRigVMFunction_MathVectorBase
- FRigVMFunction_MathVectorSetLength
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;"SetLength", TemplateName&61;"SetLength", Keywords&61;"Unit,Normalize,Scale"&41;&41;
struct FRigVMFunction_MathVectorSetLength : public FRigVMFunction_MathVectorBase
Remarks
Sets the length of a given vector
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | Length | ||
| FVector | Result | ||
| FVector | Value |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |