UnityEngine.BoundingSphere.BoundingSphere C# (CSharp) Method

BoundingSphere() public method

Initializes a BoundingSphere.

public BoundingSphere ( Vector3 pos, float rad ) : System
pos Vector3 The center of the sphere.
rad float The radius of the sphere.
return System
        public BoundingSphere(Vector3 pos, float rad)
        {
            this.position = pos;
            this.radius = rad;
        }

Same methods

BoundingSphere::BoundingSphere ( Vector4 packedSphere ) : System
BoundingSphere