BoundingBox::Contains (constBoundingSphere&) 函式 (directxcollision.h)
測試 BoundingBox 是否包含指定的 BoundingSphere。
語法
ContainmentType Contains(
[in, ref] const BoundingSphere & sh
) noexcept;
參數
[in, ref] sh
要測試的 BoundingSphere。
傳回值
ContainmentType 值,指出 BoundingBox 是否包含 BoundingSphere。
備註
平臺需求
Microsoft Visual Studio 2010 或 Microsoft Visual Studio 2012 搭配 Windows SDK for Windows 8。 支援 Win32 傳統型應用程式、Windows 市集應用程式和 Windows Phone 8 個應用程式。規格需求
需求 | 值 |
---|---|
目標平台 | Windows |
標頭 | directxcollision.h |
另請參閱
參考
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應