docs.unity3d.com
    Show / Hide Table of Contents

    Struct ModifiableContactHeader

    Namespace: Unity.Physics
    Syntax
    public struct ModifiableContactHeader

    Properties

    BodyIndexA

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

    BodyIndexB

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

    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 readonly ColliderKey ColliderKeyA { get; }
    Property Value
    Type Description
    ColliderKey

    ColliderKeyB

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

    CustomTagsA

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

    CustomTagsB

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

    EntityA

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

    EntityB

    Declaration
    public readonly 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 { readonly get; }
    Property Value
    Type Description
    Boolean

    Normal

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

    NumContacts

    Declaration
    public readonly int NumContacts { get; }
    Property Value
    Type Description
    Int32
    In This Article
    • Properties
      • BodyIndexA
      • BodyIndexB
      • CoefficientOfFriction
      • CoefficientOfRestitution
      • ColliderKeyA
      • ColliderKeyB
      • CustomTagsA
      • CustomTagsB
      • EntityA
      • EntityB
      • JacobianFlags
      • Modified
      • Normal
      • NumContacts
    Back to top
    Terms of use
    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