Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Units > API/Plugins/ControlRig/Units/Execution
Inheritance Hierarchy
- FRigVMStruct
- FRigUnit
- FRigUnit_CollectionBase
- FRigUnit_CollectionGetParentIndicesItemArray
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Units/Execution/RigUnit_Collection.h |
| Include | #include "Units/Execution/RigUnit_Collection.h" |
Syntax
USTRUCT (Meta=(DisplayName="Get Parent Indices", Keywords="Collection,Array", Varying))
struct FRigUnit_CollectionGetParentIndicesItemArray : public FRigUnit_CollectionBase
Remarks
Returns an array of relative parent indices for each item. Several options here a) If an item has multiple parents the major parent (based on the weights) will be returned. b) If an item has a parent that's not part of the collection INDEX_NONE will be returned. c) If an item has a parent that's not part of the collection, but a grand parent is we'll use that index instead.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FRigElementKey > | Items | ||
| TArray< int32 > | ParentIndices |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |