Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetIndicesWithoutAnyFlags

Gets the indices of all hierarchy nodes that do not have any of the specified flags set.
Read time 1 minuteLast updated 13 days ago

Definition

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

GetIndicesWithoutAnyFlags(HierarchyNodeFlags, Span<int>)

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

GetIndicesWithoutAnyFlags(HierarchyNodeFlags)

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

Parameters

The hierarchy node flags.

Returns

Type

Description

int[]The hierarchy node indices.