BoundingFrustum interface

A bounding frustum object.

Constructors

The BoundingFrustum interface has these constructors.

ConstructorDescription
BoundingFrustum

Creates an instance of BoundingFrustum.

 

Methods

The BoundingFrustum interface has these methods.

MethodDescription
ContainedBy

Tests whether the BoundingFrustum is contained by the specified frustum.

Contains Overloaded.

Tests whether the BoundingFrustum contains a specified object.

CreateFromMatrix

Creates a BoundingFrustum from the specified projection matrix.

GetCorners

Gets the corners making up the BoundingFrustum.

GetPlanes

Gets the planes making up the BoundingFrustum.

Intersects Overloaded.

Tests the BoundingFrustum for intersection with another object.

op_Assignment

Copies values from another BoundingFrustum.

Transform Overloaded.

Transforms the BoundingFrustum.

 

Properties

The BoundingFrustum interface has these properties.

PropertyAccess typeDescription

BottomSlope

Read/write

The slope of the bottom of the BoundingFrustum.

CORNER_COUNT

Read/write

The number of corners defining the BoundingFrustum.

Far

Read/write

The distance of the far plane from the origin of the BoundingFrustum.

LeftSlope

Read/write

The slope of the left side of the BoundingFrustum.

Near

Read/write

The distance of the near plane of the BoundingFrustum from its origin.

Orientation

Read/write

The orientation of the BoundingFrustum represented as a quaternion.

Origin

Read/write

The origin of the BoundingFrustum.

RightSlope

Read/write

The slope of the right side of the BoundingFrustum.

TopSlope

Read/write

The slope of the top of the BoundingFrustum.

 

Note  BoundingFrustum is new for DirectXMath. This functionality is not available in XNAMath 2.x. Similar functionality for XNAMath can be found in the DirectX SDK Collision sample.

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft