BoundingSphere.ContainedBy method

Tests whether the BoundingSphere is contained by the specified frustum.

Syntax


ContainmentType ContainedBy(
  [in] XMVECTOR Plane0,
  [in] XMVECTOR Plane1,
  [in] XMVECTOR Plane2,
  [in] XMVECTOR Plane3,
  [in] XMVECTOR Plane4,
  [in] XMVECTOR Plane5
);

Parameters

Plane0 [in]

A plane describing the frustum.

Plane1 [in]

A plane describing the frustum.

Plane2 [in]

A plane describing the frustum.

Plane3 [in]

A plane describing the frustum.

Plane4 [in]

A plane describing the frustum.

Plane5 [in]

A plane describing the frustum.

Return value

A ContainmentType value indicating whether the frustum contains 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

Header

DirectXCollision.h

See also

Methods
Reference
BoundingSphere

 

 

Show: