GetIndicesWithAllFlags
Gets the indices for all hierarchy nodes that have all of the specified flags set.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Method
- Namespace: Unity.Hierarchy
- Assembly: UnityEngine.HierarchyCoreModule
GetIndicesWithAllFlags(HierarchyNodeFlags, Span<int>)
Gets the indices for all hierarchy nodes that have all of the specified flags set.
public int GetIndicesWithAllFlags(HierarchyNodeFlags flags, Span<int> outIndices)
Parameters
Returns
Type | Description |
|---|---|
| int | The number of indices written in the span. |
GetIndicesWithAllFlags(HierarchyNodeFlags)
Gets the indices for all hierarchy nodes that have all of the specified flags set.
public int[] GetIndicesWithAllFlags(HierarchyNodeFlags flags)
Parameters
The hierarchy node flags.
Returns
Type | Description |
|---|---|
| int[] | The hierarchy node indices. |