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

    Struct PolygonGeometry

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

    Properties

    BevelRadius

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

    Vertices

    Declaration
    public NativeSlice<float2> Vertices { get; set; }
    Property Value
    Type Description
    NativeSlice<Unity.Mathematics.float2>

    Methods

    Equals(PolygonGeometry)

    Declaration
    public bool Equals(PolygonGeometry other)
    Parameters
    Type Name Description
    PolygonGeometry 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