docs.unity.cn
    Show / Hide Table of Contents

    Struct SurfaceConstraintInfo

    Information about the surface constraint.

    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 SurfaceConstraintInfo

    Fields

    ColliderKey

    The collider key.

    Declaration
    public ColliderKey ColliderKey
    Field Value
    Type Description
    ColliderKey

    HitPosition

    The hit position.

    Declaration
    public float3 HitPosition
    Field Value
    Type Description
    float3

    IsMaxSlope

    True if is maximum slope, false if not.

    Declaration
    public bool IsMaxSlope
    Field Value
    Type Description
    Boolean

    IsTooSteep

    True if is too steep, false if not.

    Declaration
    public bool IsTooSteep
    Field Value
    Type Description
    Boolean

    Plane

    The Plane.

    Declaration
    public Plane Plane
    Field Value
    Type Description
    Plane

    Priority

    The priority.

    Declaration
    public int Priority
    Field Value
    Type Description
    Int32

    RigidBodyIndex

    The rigid body index.

    Declaration
    public int RigidBodyIndex
    Field Value
    Type Description
    Int32

    Touched

    True if touched.

    Declaration
    public bool Touched
    Field Value
    Type Description
    Boolean

    Velocity

    The velocity.

    Declaration
    public float3 Velocity
    Field Value
    Type Description
    float3
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023