docs.unity.cn
    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 { readonly get; }
    Property Value
    Type Description
    Int32

    The index.

    Modified

    Gets a value indicating whether this object is modified.

    Declaration
    public bool Modified { readonly 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
    Generated by DocFX
    on Wednesday, June 21, 2023