BoundingSphere interface
A bounding sphere object.
Constructors
The BoundingSphere interface has these constructors.
| Constructor | Description |
|---|---|
| DirectX.BoundingSphere |
Creates an instance of the BoundingSphere class. |
Methods
The BoundingSphere interface has these methods.
| Method | Description |
|---|---|
| ContainedBy |
Tests whether the BoundingSphere is contained by the specified frustum. |
| Contains | Overloaded. Tests whether the BoundingSphere contains a specified object. |
| CreateFromBoundingBox |
Creates a BoundingSphere containing the specified BoundingBox. |
| CreateFromPoints |
Creates a new BoundingSphere from a list of points. |
| CreateMerged |
Creates a BoundingSphere that contains the two specified BoundingSphere objects. |
| Intersects | Overloaded. Tests the BoundingSphere for intersection with an object. |
| op_Assignment |
Initializes the BoundingSphere with values from a specified BoundingSphere. |
| Transform | Overloaded. Transforms the BoundingSphere. |
Properties
The BoundingSphere interface has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read/write |
The center of the BoundingSphere. | |
|
Read/write |
The radius of the BoundingSphere. |
Remarks
Platform Requirements
Microsoft Visual Studio 2010 or Microsoft Visual Studio 2012 with the Windows SDK for Windows 8. Supported for Win32 desktop apps, Windows Store apps, and Windows Phone 8 apps.
Requirements
|
Namespace |
Use DirectX. |
|---|---|
|
Header |
|
See also