UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TkDOPTree< COLL_DATA_PROVIDER, KDOP_IDX_TYPE > Struct Template Reference

#include <kDOP.h>

Public Types

typedef COLL_DATA_PROVIDER DataProviderType
 
typedef TkDOPNode< DataProviderType, KDOP_IDX_TYPENodeType
 
typedef COLL_DATA_PROVIDER DataProviderType
 
typedef TkDOPNode< DataProviderType, KDOP_IDX_TYPENodeType
 

Public Member Functions

void Build (TArray< FkDOPBuildCollisionTriangle< KDOP_IDX_TYPE > > &BuildTriangles)
 
bool LineCheck (TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE > &Check) const
 
void Build (TArray< FkDOPBuildCollisionTriangle< KDOP_IDX_TYPE > > &BuildTriangles)
 
bool LineCheck (TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE > &Check) const
 

Public Attributes

kDOPArray< NodeTypeNodes
 
kDOPArray< FTriangleSOASOATriangles
 

Detailed Description

template<typename COLL_DATA_PROVIDER, typename KDOP_IDX_TYPE>
struct TkDOPTree< COLL_DATA_PROVIDER, KDOP_IDX_TYPE >

This is the tree of kDOPs that spatially divides the static mesh. It is a binary tree of kDOP nodes.

Member Typedef Documentation

◆ DataProviderType [1/2]

Exposes data provider type to clients.

◆ DataProviderType [2/2]

Exposes data provider type to clients.

◆ NodeType [1/2]

◆ NodeType [2/2]

Member Function Documentation

◆ Build() [1/2]

Creates the root node and recursively splits the triangles into smaller volumes

Parameters
BuildTriangles– The list of triangles to use for the build process

◆ Build() [2/2]

Creates the root node and recursively splits the triangles into smaller volumes

Parameters
BuildTriangles– The list of triangles to use for the build process

◆ LineCheck() [1/2]

Figures out whether the check even hits the root node's bounding volume. If it does, it recursively searches for a triangle to hit.

Parameters
Check– The aggregated line check data

◆ LineCheck() [2/2]

Figures out whether the check even hits the root node's bounding volume. If it does, it recursively searches for a triangle to hit.

Parameters
Check– The aggregated line check data

Member Data Documentation

◆ Nodes

The list of nodes contained within this tree. Node 0 is always the root node.

◆ SOATriangles

The list of collision triangles in this tree.


The documentation for this struct was generated from the following files: