docs.unity3d.com
    Show / Hide Table of Contents

    Struct ModifiableContactPoint

    A modifiable contact point.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Physics
    Syntax
    public struct ModifiableContactPoint

    Properties

    Distance

    Gets or sets the distance.

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

    The distance.

    Index

    Index of this point, within the ModifiableContactHeader.

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

    The index.

    Modified

    Gets a value indicating whether this object is modified.

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

    True if modified, false if not.

    Position

    Gets or sets the position.

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

    The position.

    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