Navigation
API > API/Plugins > API/Plugins/RigVM > API/Plugins/RigVM/RigVMFunctions > API/Plugins/RigVM/RigVMFunctions/Math
Inheritance Hierarchy
- FRigVMStruct
- FRigVMStructMutable
- FRigVMFunction_MathMutableBase
- FRigVMFunction_MathTransformMutableBase
- FRigVMFunction_MathTransformAccumulateArray
References
| Module | RigVM |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMFunctions/Math/RigVMFunction_MathTransform.h |
| Include | #include "RigVMFunctions/Math/RigVMFunction_MathTransform.h" |
Syntax
USTRUCT&40;
Meta&61;&40;DisplayName&61;"Make Transform Array Relative", Keywords&61;"Local,Global,Absolute,Array,Accumulate"&41;&41;
struct FRigVMFunction_MathTransformAccumulateArray : public FRigVMFunction_MathTransformMutableBase
Remarks
Treats the provided transforms as a chain with global / local transforms, and projects each transform into the target space. Optionally you can provide a custom parent indices array, with which you can represent more than just chains.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< int32 > | ParentIndices | If this array is the same size as the transforms array the indices will be used to look up each transform's parent. | |
| FTransform | Root | Provides the parent transform for the root | |
| ERigVMTransformSpace | TargetSpace | Defines the space to project to | |
| TArray< FTransform > | Transforms |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct | |
| FString | GetUnitLabel () |