unreal.RigUnit_CollectionGetParentIndices
¶
- class unreal.RigUnit_CollectionGetParentIndices(collection: RigElementKeyCollection = Ellipsis, parent_indices: None = [])¶
Bases:
RigUnit_CollectionBase
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.
C++ Source:
Plugin: ControlRig
Module: ControlRig
File: RigUnit_Collection.h
Editor Properties: (see get_editor_property/set_editor_property)
collection
(RigElementKeyCollection): [Read-Write]parent_indices
(Array[int32]): [Read-Write]
- property collection: RigElementKeyCollection¶
[Read-Write]
- Type: