Struct ColliderKeyPath | 2D Entities | 0.29.0-preview.3
docs.unity.cn
    Show / Hide Table of Contents

    Struct ColliderKeyPath

    Namespace: Unity.U2D.Entities.Physics
    Syntax
    public struct ColliderKeyPath

    Constructors

    ColliderKeyPath(ColliderKey, UInt32)

    Declaration
    public ColliderKeyPath(ColliderKey key, uint numKeyBits)
    Parameters
    Type Name Description
    ColliderKey key
    UInt32 numKeyBits

    Properties

    Empty

    Declaration
    public static ColliderKeyPath Empty { get; }
    Property Value
    Type Description
    ColliderKeyPath

    Key

    Declaration
    public ColliderKey Key { get; }
    Property Value
    Type Description
    ColliderKey

    Methods

    GetLeafKey(ColliderKey)

    Declaration
    public ColliderKey GetLeafKey(ColliderKey leafKeyLocal)
    Parameters
    Type Name Description
    ColliderKey leafKeyLocal
    Returns
    Type Description
    ColliderKey

    PopChildKey(UInt32)

    Declaration
    public void PopChildKey(uint numChildKeyBits)
    Parameters
    Type Name Description
    UInt32 numChildKeyBits

    PushChildKey(ColliderKeyPath)

    Declaration
    public void PushChildKey(ColliderKeyPath child)
    Parameters
    Type Name Description
    ColliderKeyPath child
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 26 August 2020