ドキュメント

Unity Engine

Unity Engine

GetIndicesWithoutAllFlags

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

GetIndicesWithoutAllFlags(HierarchyNodeFlags, Span<int>)

Gets the indices of all hierarchy nodes that do not have all of the specified flags set.
public int GetIndicesWithoutAllFlags(HierarchyNodeFlags flags, Span<int> outIndices)

Parameters

The hierarchy node flags.

outIndices

The hierarchy node indices.

Returns

Type

Description

intThe number of indices written in the span.

GetIndicesWithoutAllFlags(HierarchyNodeFlags)

Gets the indices of all hierarchy nodes that do not have all of the specified flags set.
public int[] GetIndicesWithoutAllFlags(HierarchyNodeFlags flags)

Parameters

The hierarchy node flags.

Returns

Type

Description

int[]The hierarchy node indices.