Property | Type | Description | |
---|---|---|---|
position | Vector3 | ||
radius | float |
Method | Description | |
---|---|---|
BoundingSphere ( Vector3 pos, float rad ) : System |
Initializes a BoundingSphere.
|
|
BoundingSphere ( Vector4 packedSphere ) : System |
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 ( Vector4 packedSphere ) : System | ||
packedSphere | Vector4 | A four-component vector containing the position (packed into the XYZ components) and radius (packed into the W component). |
return | System |