기술 자료

Unity Engine

Unity Engine

GetIndicesWithAnyFlags

Gets the indices for all hierarchy nodes that have any of the specified flags set.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyCoreModule

GetIndicesWithAnyFlags(HierarchyNodeFlags, Span<int>)

Gets the indices for all hierarchy nodes that have any of the specified flags set.
public int GetIndicesWithAnyFlags(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.

GetIndicesWithAnyFlags(HierarchyNodeFlags)

Gets the indices for all hierarchy nodes that have any of the specified flags set.
public int[] GetIndicesWithAnyFlags(HierarchyNodeFlags flags)

Parameters

The hierarchy node flags.

Returns

Type

Description

int[]The hierarchy node indices.