Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/kDOP.h |
| Include | #include "kDOP.h" |
Syntax
template<typename COLL_DATA_PROVIDER, typename KDOP_IDX_TYPE>
struct TkDOPTree
Remarks
This is the tree of kDOPs that spatially divides the static mesh. It is a binary tree of kDOP nodes.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TChunkedArray< NodeType > | Nodes | The list of nodes contained within this tree. Node 0 is always the root node. | |
| TChunkedArray< FTriangleSOA > | SOATriangles | The list of collision triangles in this tree. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Build
(
TArray< FkDOPBuildCollisionTriangle< KDOP_IDX_TYPE > >& BuildTriangles |
Creates the root node and recursively splits the triangles into smaller volumes | |
| 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 |
Figures out whether the check even hits the root node's bounding volume. | |
| bool | LineCheck
(
TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE >& Check |
Figures out whether the check even hits the root node's bounding volume. |
Typedefs
| Name | Description |
|---|---|
| DataProviderType | Exposes data provider type to clients. |
| DataProviderType | Exposes data provider type to clients. |
| NodeType | Exposes node type to clients. |
| NodeType | Exposes node type to clients. |