Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Units > API/Plugins/ControlRig/Units/Hierarchy
Inheritance Hierarchy
- FRigVMStruct
- FRigUnit
- FRigUnitMutable
- FRigUnit_OffsetTransformForItem
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Units/Hierarchy/RigUnit_OffsetTransform.h |
| Include | #include "Units/Hierarchy/RigUnit_OffsetTransform.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Offset Transform", Category="Transforms", DocumentationPolicy="Strict", Keywords="Offset,Relative,AddBoneTransform", NodeColor="0, 0.364706, 1.0", Varying))
struct FRigUnit_OffsetTransformForItem : public FRigUnitMutable
Remarks
Offset Transform is used to add an offset to an existing transform in the hierarchy. The offset is post multiplied.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bPropagateToChildren | If set to true children of affected items in the hierarchy will follow the transform change - otherwise only the parent will move. | |
| FCachedRigElement | CachedIndex | Used to cache the item internally. | |
| FRigElementKey | Item | The item to offset the transform for | |
| FTransform | OffsetTransform | The transform of the item relative to its previous transform. | |
| float | Weight | Defines how much the change will be applied. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigUnit
| Type | Name | Description | |
|---|---|---|---|
| bool | UpdateDirectManipulationFromHierarchy
(
const URigVMUnitNode* InNode, |
Sets the values on this node based on a viewport pose | |
| bool | UpdateHierarchyForDirectManipulation
(
const URigVMUnitNode* InNode, |
Sets a control's pose to represent this viewport pose target |
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |