docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method AddLeaf

    AddLeaf(ColliderKey, ref ChildCollider)

    Adds a leaf to the collector.

    Declaration
    void AddLeaf(ColliderKey key, ref ChildCollider leaf)
    Parameters
    Type Name Description
    ColliderKey key

    The collider key specifying the leaf.

    ChildCollider leaf

    [in,out] The leaf collider.

    In This Article
    Back to top
    Copyright © 2023 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)