BoundingOrientedBox::ContainedBy function (directxcollision.h)

Tests whether the BoundingOrientedBox is contained by a frustum.

Syntax

ContainmentType XM_CALLCONV ContainedBy(
  [in] FXMVECTOR Plane0,
  [in] FXMVECTOR Plane1,
  [in] FXMVECTOR Plane2,
  [in] GXMVECTOR Plane3,
  [in] HXMVECTOR Plane4,
  [in] HXMVECTOR Plane5
) noexcept;

Parameters

[in] Plane0

A plane describing the frustum.

[in] Plane1

A plane describing the frustum.

[in] Plane2

A plane describing the frustum.

[in] Plane3

A plane describing the frustum.

[in] Plane4

A plane describing the frustum.

[in] Plane5

A plane describing the frustum.

Return value

A ContainmentType indicating whether the frustum contains the BoundingOrientedBox.

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

   
Target Platform Windows
Header directxcollision.h

See also

BoundingOrientedBox

Methods

Reference