Struct ModifiableContactHeader | Unity Physics | 0.4.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Struct ModifiableContactHeader

    Namespace: Unity.Physics
    Syntax
    public struct ModifiableContactHeader

    Properties

    BodyCustomTags

    Declaration
    [Obsolete("BodyCustomTags has been deprecated. Use CustomTagsA and CustomTagsB directly. (RemovedAfter 2020-08-01)")]
    public CustomTagsPair BodyCustomTags { get; }
    Property Value
    Type Description
    CustomTagsPair

    BodyIndexA

    Declaration
    public int BodyIndexA { get; }
    Property Value
    Type Description
    Int32

    BodyIndexB

    Declaration
    public int BodyIndexB { get; }
    Property Value
    Type Description
    Int32

    BodyIndexPair

    Declaration
    [Obsolete("BodyIndexPair has been deprecated. Use BodyIndexA and BodyIndexB directly. (RemovedAfter 2020-08-01)")]
    public BodyIndexPair BodyIndexPair { get; }
    Property Value
    Type Description
    BodyIndexPair

    CoefficientOfFriction

    Declaration
    public float CoefficientOfFriction { get; set; }
    Property Value
    Type Description
    Single

    CoefficientOfRestitution

    Declaration
    public float CoefficientOfRestitution { get; set; }
    Property Value
    Type Description
    Single

    ColliderKeyA

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

    ColliderKeyB

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

    ColliderKeys

    Declaration
    [Obsolete("ColliderKeys has been deprecated. Use ColliderKeyA and ColliderKeyB directly. (RemovedAfter 2020-08-01)")]
    public ColliderKeyPair ColliderKeys { get; }
    Property Value
    Type Description
    ColliderKeyPair

    CustomTagsA

    Declaration
    public byte CustomTagsA { get; }
    Property Value
    Type Description
    Byte

    CustomTagsB

    Declaration
    public byte CustomTagsB { get; }
    Property Value
    Type Description
    Byte

    Entities

    Declaration
    [Obsolete("Entities has been deprecated. Use EntityA and EntityB directly. (RemovedAfter 2020-08-01)")]
    public EntityPair Entities { get; }
    Property Value
    Type Description
    EntityPair

    EntityA

    Declaration
    public Entity EntityA { get; }
    Property Value
    Type Description
    Entity

    EntityB

    Declaration
    public Entity EntityB { get; }
    Property Value
    Type Description
    Entity

    JacobianFlags

    Declaration
    public JacobianFlags JacobianFlags { get; set; }
    Property Value
    Type Description
    JacobianFlags

    Modified

    Declaration
    public bool Modified { get; }
    Property Value
    Type Description
    Boolean

    Normal

    Declaration
    public float3 Normal { get; set; }
    Property Value
    Type Description
    Unity.Mathematics.float3

    NumContacts

    Declaration
    public int NumContacts { get; }
    Property Value
    Type Description
    Int32
    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