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<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 |