Fonction BoundingFrustum ::GetPlanes (directxcollision.h)

Obtient les plans qui composent le BoundingFrustum.

Syntaxe

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

Paramètres

NearPlane

Vecteur qui contiendra le plan proche.

FarPlane

Vecteur qui contiendra le plan lointain.

RightPlane

Vecteur qui contiendra le plan droit.

LeftPlane

Vecteur qui contiendra le plan gauche.

TopPlane

Vecteur qui contiendra le plan supérieur.

BottomPlane

Vecteur qui contiendra le plan inférieur.

Valeur de retour

None

Remarques

Configuration requise pour la plateforme

Microsoft Visual Studio 2010 ou Microsoft Visual Studio 2012 avec le Kit de développement logiciel (SDK) Windows pour Windows 8. Pris en charge pour les applications de bureau Win32, les applications du Windows Store et Windows Phone 8 applications.

Configuration requise

Condition requise Valeur
Plateforme cible Windows
En-tête directxcollision.h

Voir aussi

BoundingFrustum

Méthodes

Référence