docs.unity3d.com
Search Results for

    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.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Physics
    Assembly: Unity.Physics.dll
    Syntax
    public struct ModifiableContactPoint

    Properties

    Distance

    Gets or sets the distance.

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

    The distance.

    Index

    Index of this point, within the ModifiableContactHeader.

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

    The index.

    Modified

    Gets a value indicating whether this object is modified.

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

    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.

    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)