FREE TRIAL

|

☀
☾

Sphere.Implicit

Implicit(SphereCollider to Sphere)

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

Remarks

Because the new Sphere is in world space, this operator reads from collider.UnityEngine.Collider.bounds.

Declaration
public static implicit operator Sphere(SphereCollider collider)
Parameters
Type Name Description
SphereCollider collider

The collider to read from.

Returns
Type Description
Sphere
☀
☾
In This Article
Legal EmailContact Github
Copyright © 2022 Supernova Technologies, LLC