docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetMaxLevelsInBetween

    GetMaxLevelsInBetween(PortDirection, TreeNode, HashSet<TreeNode>, int, Visitor)

    Gets the maximum levels going to the specified side from the specified caller tree node.

    Declaration
    public int GetMaxLevelsInBetween(PortDirection side, GraphTree.TreeNode callerNode, HashSet<GraphTree.TreeNode> lst, int recurseLevel = 0, GraphTree.Visitor visitor = null)
    Parameters
    Type Name Description
    PortDirection side

    The side to scan.

    GraphTree.TreeNode callerNode

    The caller node.

    HashSet<GraphTree.TreeNode> lst

    The list of tree nodes to scan.

    int recurseLevel

    The recursive level which represent the current maximum level.

    GraphTree.Visitor visitor

    The visitor descriptor.

    Returns
    Type Description
    int

    Maximum levels in between caller node in the side direction.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)