BoundingSphere
Initializes a BoundingSphere.
阅读时间1 分钟最后更新于 1 个月前
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).