BoundingFrustum::Contains(constBoundingSphere&)-Funktion (directxcollision.h)

Testet, ob das BoundingFrustum die angegebene BoundingSphere enthält.

Syntax

ContainmentType Contains(
  [in, ref] const BoundingSphere & sp
) noexcept;

Parameter

[in, ref] sp

Die BoundingSphere , anhand der getestet werden soll.

Rückgabewert

Ein ContainmentType-Wert , der angibt, ob die BoundingSphere im BoundingFrustum enthalten ist.

Hinweise

Plattformanforderungen

Microsoft Visual Studio 2010 oder Microsoft Visual Studio 2012 mit dem Windows SDK für Windows 8. Unterstützt für Win32-Desktop-Apps, Windows Store-Apps und Windows Phone 8-Apps.

Anforderungen

Anforderung Wert
Zielplattform Windows
Kopfzeile directxcollision.h

Weitere Informationen

BoundingFrustum

Contains

Referenz