Struct SphereGeometry
Namespace: Unity.Physics
Syntax
public struct SphereGeometry : IEquatable<SphereGeometry>
Properties
Center
Declaration
public float3 Center { get; set; }
Property Value
Type | Description |
---|---|
Unity.Mathematics.float3 |
Radius
Declaration
public float Radius { get; set; }
Property Value
Type | Description |
---|---|
Single |
Methods
Equals(SphereGeometry)
Declaration
public bool Equals(SphereGeometry other)
Parameters
Type | Name | Description |
---|---|---|
SphereGeometry | other |
Returns
Type | Description |
---|---|
Boolean |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |