UtilSphereIntersectsFrustum Method (Plane, BSphere) |
Check to see if the supplied
frustum defined by a set of planes intersects
with the supplied sphere/>.
The frustum planes are usually Near, Far, Left, Right, Top, Bottom but
Far can be ommitted in certain cases (selection to infinity).
Namespace:
Demo3D.Common
Assembly:
Demo3D.Common (in Demo3D.Common.dll) Version: 18.04.00
Syntaxpublic static bool SphereIntersectsFrustum(
Plane[] frustum,
BSphere sphere
)
Parameters
- frustum
- Type: Microsoft.DirectXPlane
Array of Plane representing the frustum. - sphere
- Type: Demo3D.VisualsBSphere
The sphere.
Return Value
Type:
BooleanTrue if they intersect, false otherwise.
See Also