FREE TRIAL

|

☀
☾
struct

Sphere

A sphere represented by a center position and radius.

Fields

Center

The center position of the sphere.

Radius

The radius of the sphere.

Constructors

Sphere(SphereCollider)

Create a Sphere in world space from a UnityEngine.SphereCollider.

Sphere(Vector3, float)

Create a new sphere from a center position and radius.

Operators

Implicit(SphereCollider to Sphere)

Create a Sphere in world space from a UnityEngine.SphereCollider.

See Also

Interaction.Point(Sphere, UInt32, Object, Int32, InputAccuracy)
☀
☾
In This Article
Legal EmailContact Github
Copyright © 2022 Supernova Technologies, LLC