docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetSubTree

    GetSubTree(uint, VisibilityMode, int)

    Returns a packed version of the whole scene tree

    Declaration
    public PackedTree GetSubTree(uint root = 0, VisibilityMode visibilityMode = VisibilityMode.Hide, int depth = -1)
    Parameters
    Type Name Description
    uint root

    Specify the root of the returned scene

    VisibilityMode visibilityMode

    The visibility mode

    int depth

    Maximum depth

    Returns
    Type Description
    PackedTree
    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)