Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Units > API/Plugins/ControlRig/Units/Hierarchy
Inheritance Hierarchy
- FRigVMStruct
- FRigUnit
- FRigUnit_ProjectTransformToNewParent
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Units/Hierarchy/RigUnit_ProjectTransformToNewParent.h |
| Include | #include "Units/Hierarchy/RigUnit_ProjectTransformToNewParent.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Project to new Parent", Category="Hierarchy", DocumentationPolicy="Strict", Keywords="ProjectTransformToNewParent,Relative,Reparent,Offset", NodeColor="0.462745, 1,0, 0.329412", Varying))
struct FRigUnit_ProjectTransformToNewParent : public FRigUnit
Remarks
Gets the relative offset between the child and the old parent, then multiplies by new parent's transform.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bChildInitial | If set to true the child will be retrieved in its initial transform | |
| bool | bNewParentInitial | If set to true the new parent will be retrieved in its initial transform | |
| bool | bOldParentInitial | If set to true the old parent will be retrieved in its initial transform | |
| FCachedRigElement | CachedChild | Used to cache the internally used child. | |
| FCachedRigElement | CachedNewParent | Used to cache the internally used new parent. | |
| FCachedRigElement | CachedOldParent | Used to cache the internally used old parent. | |
| FRigElementKey | Child | The element to project between parents | |
| FRigElementKey | NewParent | The new parent of the child. | |
| FRigElementKey | OldParent | The original parent of the child. | |
| FTransform | Transform | The resulting transform. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |