Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Units > API/Plugins/ControlRig/Units/Hierarchy
Inheritance Hierarchy
- FRigVMStruct
- FRigUnit
- FRigUnit_GetRelativeTransformForItem
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Units/Hierarchy/RigUnit_GetRelativeTransform.h |
| Include | #include "Units/Hierarchy/RigUnit_GetRelativeTransform.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Get Relative Transform", Category="Transforms", DocumentationPolicy="Strict", Keywords="Offset,Local", NodeColor="0.462745, 1,0, 0.329412", Varying))
struct FRigUnit_GetRelativeTransformForItem : public FRigUnit
Remarks
GetRelativeTransform is used to retrieve a single transform from a hierarchy in the space of another transform
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bChildInitial | Defines if the child's transform should be retrieved as current (false) or initial (true). | |
| bool | bParentInitial | Defines if the parent's transform should be retrieved as current (false) or initial (true). | |
| FCachedRigElement | CachedChild | Used to cache the child internally. | |
| FCachedRigElement | CachedParent | Used to cache the parent internally. | |
| FRigElementKey | Child | The child item to retrieve the transform for | |
| FRigElementKey | Parent | The parent item to use. The child transform will be retrieve in the space of the parent. | |
| FTransform | RelativeTransform | The transform of the given child item relative to the provided parent. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |