Version: 2019.1

BoundingSphereConstructor

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

Parameters

posThe center of the sphere.
radThe radius of the sphere.
packedSphereA four-component vector containing the position (packed into the XYZ components) and radius (packed into the W component).

Description

Initializes a BoundingSphere.