GetIndicesWithoutFlags
Gets the indices of all hierarchy nodes that do not have all of the specified flags set.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Hierarchy
- Assembly: UnityEngine.HierarchyCoreModule
GetIndicesWithoutFlags(HierarchyNodeFlags, Span<int>)
Gets the indices of all hierarchy nodes that do not have all of the specified flags set.
public int GetIndicesWithoutFlags(HierarchyNodeFlags flags, Span<int> outIndices)
Parameters
Returns
Type | Description |
|---|---|
| int | The number of indices written in the |
GetIndicesWithoutFlags(HierarchyNodeFlags)
Gets the indices of all hierarchy nodes that do not have all of the specified flags set.
public int[] GetIndicesWithoutFlags(HierarchyNodeFlags flags)
Parameters
The hierarchy node flags.
Returns
Type | Description |
|---|---|
| int[] | The hierarchy node indices. |