BoundingBox::Contains(constBoundingBox&)-Funktion (directxcollision.h)

Testet, ob das BoundingBox-Element ein anderes BoundingBox-Element enthält.

Syntax

ContainmentType Contains(
  [in, ref] const BoundingBox & box
) noexcept;

Parameter

[in, ref] box

Das BoundingBox-Objekt, mit dem getestet werden soll.

Rückgabewert

Ein ContainmentType-Wert, der angibt, ob das BoundingBox-Objekt das angegebene BoundingBox-Objekt enthält.

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

Boundingbox

Contains

Referenz