BoundingSphere::CreateFromPoints 関数 (directxcollision.h)

ポイントのリストから新しい BoundingSphere を作成します。

構文

void CreateFromPoints(
  [out, ref] BoundingSphere & Out,
  [in]       size_t           Count,
             const XMFLOAT3   *pPoints,
  [in]       size_t           Stride
) noexcept;

パラメーター

[out, ref] Out

指定したポイントを含む新しい BoundingSphere。

[in] Count

pPoints のバッファー内のポイント数。

pPoints

新しい BoundingSphere の作成元となるポイントを含むバッファー。

[in] Stride

バッファーのストライド。

戻り値

なし

解説

プラットフォームの要件

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

要件

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

関連項目

BoundingSphere

メソッド

参照