docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IOverlapCollector

    Interface for collecting hits from overlap queries.

    Namespace: Unity.Physics
    Assembly: Unity.Physics.dll
    Syntax
    public interface IOverlapCollector

    Methods

    AddColliderKeys(ColliderKey*, int)

    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.

    int count

    Number of collider keys.

    AddRigidBodyIndices(int*, int)

    Adds rigid body indices to the collector.

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

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

    int count

    Number of indices.

    PopCompositeCollider(uint)

    Pops the composite collider described by numCompositeKeyBits.

    Declaration
    void PopCompositeCollider(uint numCompositeKeyBits)
    Parameters
    Type Name Description
    uint 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.

    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)