Struct CapsuleGeometry | 2D Entities | 0.29.0-preview.3
docs.unity.cn
    Show / Hide Table of Contents

    Struct CapsuleGeometry

    Namespace: Unity.U2D.Entities.Physics
    Syntax
    public struct CapsuleGeometry : IEquatable<CapsuleGeometry>

    Properties

    Radius

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

    Vertex0

    Declaration
    public float2 Vertex0 { get; set; }
    Property Value
    Type Description
    Unity.Mathematics.float2

    Vertex1

    Declaration
    public float2 Vertex1 { get; set; }
    Property Value
    Type Description
    Unity.Mathematics.float2

    Methods

    Equals(CapsuleGeometry)

    Declaration
    public bool Equals(CapsuleGeometry other)
    Parameters
    Type Name Description
    CapsuleGeometry other
    Returns
    Type Description
    Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 26 August 2020