Freigeben über


BoundingOrientedBox::CreateFromBoundingBox-Funktion (directxcollision.h)

Erstellt ein BoundingOrientedBox-Objekt aus einem BoundingBox-Objekt.

Syntax

void CreateFromBoundingBox(
  [out, ref] BoundingOrientedBox & Out,
  [in, ref]  const BoundingBox &   box
) noexcept;

Parameter

[out, ref] Out

Das neue BoundingOrientedBox.The new BoundingOrientedBox.

[in, ref] box

Das BoundingBox-Element , das das BoundingOrientedBox-Objekt enthalten sollte.

Rückgabewert

Keine

Bemerkungen

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

BoundingOrientedBox

Methoden

Referenz