Documentation

Unity Engine

Unity Engine

GetNodesWithoutAnyFlags

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

Definition

GetNodesWithoutAnyFlags(HierarchyNodeFlags, Span<HierarchyNode>)

Gets all hierarchy nodes that do not have any of the specified flags set.
public int GetNodesWithoutAnyFlags(HierarchyNodeFlags flags, Span<HierarchyNode> outNodes)

Parameters

The hierarchy node flags.

The hierarchy nodes.

Returns

Type

Description

intThe number of nodes written in the span.

GetNodesWithoutAnyFlags(HierarchyNodeFlags)

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

Parameters

The hierarchy node flags.

Returns

Type

Description

HierarchyNode[]The hierarchy nodes.