docs.unity3d.com
    Show / Hide Table of Contents

    Interface IOverlapCollector

    Interface for collecting hits from overlap queries.

    Namespace: Unity.Physics
    Syntax
    public interface IOverlapCollector

    Methods

    AddColliderKeys(ColliderKey*, Int32)

    Adds a collider keys to 'count'.

    Declaration
    void AddColliderKeys(ColliderKey*keys, int count)
    Parameters
    Type Name Description
    ColliderKey* keys

    [in,out] If non-null, the collider keys.

    Int32 count

    Number of collider keys.

    AddRigidBodyIndices(Int32*, Int32)

    Adds rigid body indices to the collector.

    Declaration
    void AddRigidBodyIndices(int *indices, int count)
    Parameters
    Type Name Description
    Int32* indices

    [in,out] If non-null, the rigid body indices.

    Int32 count

    Number of indices.

    PopCompositeCollider(UInt32)

    Pops the composite collider described by numCompositeKeyBits.

    Declaration
    void PopCompositeCollider(uint numCompositeKeyBits)
    Parameters
    Type Name Description
    UInt32 numCompositeKeyBits

    Number of composite key bits.

    PushCompositeCollider(ColliderKeyPath)

    Pushes a composite collider.

    Declaration
    void PushCompositeCollider(ColliderKeyPath compositeKey)
    Parameters
    Type Name Description
    ColliderKeyPath compositeKey

    The composite key.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023