Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

HierarchyViewModel.ClearFlagsRecursive

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public void ClearFlagsRecursive(ref HierarchyNode node, HierarchyNodeFlags flags, HierarchyTraversalDirection direction);

Parameters

Parameter Description
node The root hierarchy node to clear flags on recursively.
flags The flags to clear on the hierarchy node and its descendants.
direction The direction of the recursion operation.

Description

Clears the specified flags recursively on the hierarchy node.


Declaration

public void ClearFlagsRecursive(ReadOnlySpan<HierarchyNode> nodes, HierarchyNodeFlags flags, HierarchyTraversalDirection direction);

Parameters

Parameter Description
nodes The hierarchy nodes to clear flags on recursively.
flags The flags to clear on the hierarchy nodes and their descendants.
direction The direction of the recursion operation.

Description

Clears the specified flags recursively on the hierarchy nodes.