ドキュメント

Unity Engine

Unity Engine

GetNodesWithAllFlags

Gets all hierarchy nodes that have all of the specified flags set.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

GetNodesWithAllFlags(HierarchyNodeFlags, Span<HierarchyNode>)

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

Parameters

The hierarchy node flags.

The hierarchy nodes.

Returns

Type

Description

intThe number of nodes written in the span.

GetNodesWithAllFlags(HierarchyNodeFlags)

Gets all hierarchy nodes that have all of the specified flags set.
public HierarchyNode[] GetNodesWithAllFlags(HierarchyNodeFlags flags)

Parameters

The hierarchy node flags.

Returns

Type

Description

HierarchyNode[]The hierarchy nodes.