Version: 2017.3

BoundingSphereConstructor

Switch to Manual
public BoundingSphere (Vector3 pos, float rad);
public BoundingSphere (Vector4 packedSphere);

Parameters

pos The center of the sphere.
rad The radius of the sphere.
packedSphere A four-component vector containing the position (packed into the XYZ components) and radius (packed into the W component).

Description

Initializes a BoundingSphere.