Share via


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

pPoint의 버퍼에 있는 포인트 수입니다.

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

메서드

참조