BoundingFrustum::GetPlanes function (directxcollision.h)

Gets the planes making up the BoundingFrustum.

Syntax

void GetPlanes(
  XMVECTOR *NearPlane,
  XMVECTOR *FarPlane,
  XMVECTOR *RightPlane,
  XMVECTOR *LeftPlane,
  XMVECTOR *TopPlane,
  XMVECTOR *BottomPlane
) noexcept;

Parameters

NearPlane

A vector that will hold the near plane.

FarPlane

A vector that will hold the far plane.

RightPlane

A vector that will hold the right plane.

LeftPlane

A vector that will hold the left plane.

TopPlane

A vector that will hold the top plane.

BottomPlane

A vector that will hold the bottom plane.

Return value

None

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

Requirement Value
Target Platform Windows
Header directxcollision.h

See also

BoundingFrustum

Methods

Reference