次の方法で共有


BoundingSphere::CreateFromBoundingBox 関数 (directxcollision.h)

指定した BoundingBox を含む BoundingSphere を作成します。

構文

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

パラメーター

[out, ref] Out

新しい BoundingSphere。

[in, ref] box

新しい BoundingSphere に含める必要がある BoundingBox。

戻り値

なし

解説

プラットフォームの要件

Microsoft Visual Studio 2010 または Microsoft Visual Studio 2012 と Windows SDK for Windows 8。 Win32 デスクトップ アプリ、Windows ストア アプリ、Windows Phone 8 アプリでサポートされます。

要件

要件
対象プラットフォーム Windows
ヘッダー directxcollision.h

こちらもご覧ください

BoundingSphere

メソッド

参照