Navigation
API > API/Runtime > API/Runtime/ChaosCore > API/Runtime/ChaosCore/TAABB
Description
Get a vector one of the eight corners of the box.
Each of the first three bits in an index are used to pick an axis value from either the min or max vector of the AABB. 0 = min, 1 = max.
This algorithm produces the following index scheme, where the vertex at 0 is the "min" vertex and 7 is the "max":
6------7 /| /| / | / | 4------5 | | | | | | 2---|3 | / | / |/ |/ 0------1
| Name | GetVertex |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/ChaosCore/Public/Chaos/AABB.h |
| Include Path | #include "Chaos/AABB.h" |
TVector < T, d > GetVertex
(
const int32 Index
) const