TkDOPTree

This is the tree of kDOPs that spatially divides the static mesh.

Windows
MacOS
Linux

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

Name Description

Public variable

TChunkedArray< ...

 

Nodes

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

Public variable

TChunkedArray< ...

 

SOATriangles

The list of collision triangles in this tree.

Functions

Name Description

Public function

void

 

Build

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

Public function

void

 

Build

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

Public function Const

bool

 

LineCheck

(
    TkDOPLineCollisionCheck< COLL_DATA_...
)

Figures out whether the check even hits the root node's bounding volume.

Public function Const

bool

 

LineCheck

(
    TkDOPLineCollisionCheck< COLL_DATA_...
)

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.

References

Module

Engine

Header

Runtime/Engine/Public/kDOP.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback