Navigation
API > API/Plugins > API/Plugins/RigVM > API/Plugins/RigVM/RigVMFunctions > API/Plugins/RigVM/RigVMFunctions/Math
Inheritance Hierarchy
- FRigVMStruct
- FRigVMFunction_MathBase
- FRigVMFunction_MathVectorBase
- FRigVMFunction_MathVectorRemap
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;"Remap", TemplateName&61;"Remap", Keywords&61;"Rescale,Scale"&41;&41;
struct FRigVMFunction_MathVectorRemap : public FRigVMFunction_MathVectorBase
Remarks
Remaps the given value from a source range to a target range for each component
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bClamp | If set to true the result is clamped to the target range | |
| FVector | Result | ||
| FVector | SourceMaximum | ||
| FVector | SourceMinimum | ||
| FVector | TargetMaximum | ||
| FVector | TargetMinimum | ||
| FVector | Value |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |