docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetColliderKeyToChildrenMapping

    GetColliderKeyToChildrenMapping(ref NativeHashMap<ColliderKey, ChildCollider>)

    Has effect only if the collider is a CompoundCollider. Fills the passed in map with ColliderKey - ChildCollider pairs of the compound collider.

    Declaration
    public void GetColliderKeyToChildrenMapping(ref NativeHashMap<ColliderKey, ChildCollider> colliderKeyToChildrenMapping)
    Parameters
    Type Name Description
    NativeHashMap<ColliderKey, ChildCollider> colliderKeyToChildrenMapping

    [in,out] The collider key to children mapping.

    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)