BoundingSphere
Initializes a BoundingSphere.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
BoundingSphere(Vector3, float)
Initializes a BoundingSphere.
public BoundingSphere(Vector3 pos, float rad)
Parameters
BoundingSphere(Vector4)
Initializes a BoundingSphere.
public BoundingSphere(Vector4 packedSphere)
Parameters
A four-component vector containing the position (packed into the XYZ components) and radius (packed into the W component).