Struct Sphere
Represents a sphere.
Properties
radius
The radius of this sphere.
public float radius { get; }
center
The center position of this sphere.
public Vector3 center { get; }
Constructors
Sphere(Vector3 center, float radius)
public Sphere(Vector3 center, float radius)
Sphere()
public Sphere()
Methods
Contains(Vector3 position)
Is the position position inside the sphere?
public bool Contains(Vector3 position)