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 (Meta=(DisplayName="Remap", TemplateName="Remap", Keywords="Rescale,Scale"))
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 | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
RIGVM_METHOD () |