|
UniDx
|
#include <Bounds.h>
公開メンバ関数 | |
| Bounds () noexcept=default | |
| Bounds (Vector3 center, Vector3 extents) noexcept | |
| constexpr Vector3 | size () const noexcept |
| サイズ(全長) | |
| constexpr Vector3 | min () const noexcept |
| 最小座標 | |
| constexpr Vector3 | max () const noexcept |
| 最大座標 | |
| Vector3 | ClosestPoint (Vector3 point) const noexcept |
| 指定点に最も近い点 | |
| void | Expand (float amount) noexcept |
| Boundsを拡張(全体サイズを増やす) | |
| void | Expand (Vector3 amount) noexcept |
| Boundsを拡張(全体サイズを増やす) | |
| void | Encapsulate (Vector3 point) noexcept |
| 指定点を含むように拡張 | |
| void | Encapsulate (const Bounds &bounds) noexcept |
| 指定Boundsを含むように拡張 | |
| void | SetMinMax (Vector3 min, Vector3 max) noexcept |
| min/maxからBoundsを再設定 | |
| bool | Intersects (const Bounds &bounds) const noexcept |
| 他のBoundsと交差しているか | |
| float | SqrDistance (Vector3 point) const noexcept |
| 指定点までの二乗距離 | |
公開変数類 | |
| Vector3 | Center |
| Vector3 | extents |
|
defaultnoexcept |
|
inlinenoexcept |
指定Boundsを含むように拡張
|
inlinenoexcept |
指定点を含むように拡張
|
inlinenoexcept |
Boundsを拡張(全体サイズを増やす)
|
inlinenoexcept |
Boundsを拡張(全体サイズを増やす)
|
inlinenodiscardnoexcept |
他のBoundsと交差しているか
|
inlineconstexprnoexcept |
最大座標
|
inlineconstexprnoexcept |
最小座標
|
inlineconstexprnoexcept |
サイズ(全長)
|
inlinenoexcept |
指定点までの二乗距離
| Vector3 UniDx::Bounds::Center |
| Vector3 UniDx::Bounds::extents |