unreal.RigUnit_CollectionGetParentIndicesItemArray
¶
- class unreal.RigUnit_CollectionGetParentIndicesItemArray(items: Array[RigElementKey] = [], parent_indices: Array[int] = [])¶
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)
items
(Array[RigElementKey]): [Read-Write] Itemsparent_indices
(Array[int32]): [Read-Write] Parent Indices
- property items: Array[RigElementKey]¶
[Read-Write] Items
- Type: