Navigation
API > API/Plugins > API/Plugins/RigVM > API/Plugins/RigVM/RigVMFunctions > API/Plugins/RigVM/RigVMFunctions/Math
Inheritance Hierarchy
- FRigVMStruct
- FRigVMFunction_MathBase
- FRigVMFunction_RandomVector
References
| Module | RigVM |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMFunctions/Math/RigVMFunction_Random.h |
| Include | #include "RigVMFunctions/Math/RigVMFunction_Random.h" |
Syntax
USTRUCT (Meta=(DisplayName="Random (Vector)", Category="Math|Random", TemplateName="Random"))
struct FRigVMFunction_RandomVector : public FRigVMFunction_MathBase
Remarks
Generates a random vector between a min and a max
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | BaseSeed | ||
| float | Duration | The duration at which the number won't change. | |
| FVector | LastResult | ||
| int32 | LastSeed | ||
| float | Maximum | ||
| float | Minimum | ||
| FVector | Result | ||
| int32 | Seed | ||
| float | TimeLeft |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
RIGVM_METHOD () |