This is the tree of kDOPs that spatially divides the static mesh. 更多...
#include <kDOP.h>
Public 类型 | |
| typedef COLL_DATA_PROVIDER | DataProviderType |
| Exposes data provider type to clients. | |
| typedef TkDOPNode< DataProviderType, KDOP_IDX_TYPE > | NodeType |
| Exposes node type to clients. | |
Public 成员函数 | |
| void | Build (TArray< FkDOPBuildCollisionTriangle< KDOP_IDX_TYPE > > &BuildTriangles) |
| Creates the root node and recursively splits the triangles into smaller volumes 更多... | |
| bool | LineCheck (TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE > &Check) const |
| Figures out whether the check even hits the root node's bounding volume. 更多... | |
Public 属性 | |
| kDOPArray< NodeType > | Nodes |
| The list of nodes contained within this tree. 更多... | |
| kDOPArray< FTriangleSOA > | SOATriangles |
| The list of collision triangles in this tree. | |
This is the tree of kDOPs that spatially divides the static mesh.
It is a binary tree of kDOP nodes.
|
inline |
Creates the root node and recursively splits the triangles into smaller volumes
| BuildTriangles | – The list of triangles to use for the build process |
|
inline |
Figures out whether the check even hits the root node's bounding volume.
If it does, it recursively searches for a triangle to hit.
| Check | – The aggregated line check data |
| kDOPArray<NodeType> TkDOPTree< COLL_DATA_PROVIDER, KDOP_IDX_TYPE >::Nodes |
The list of nodes contained within this tree.
Node 0 is always the root node.