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 |
---|---|
float2 |
Vertex1
Declaration
public float2 Vertex1 { get; set; }
Property Value
Type | Description |
---|---|
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 |