TkDOPNode::SplitTriangleList

Determines if the node is a leaf or not.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Experimental/Chaos/Private/kDOP.h

Include

#include "kDOP.h"

Syntax

FBox SplitTriangleList
(
    int32 Start,
    int32 NumTris,
    TArray< FkDOPBuildCollisionTriangle< KDOP_IDX_TYPE > > & BuildTriangles,
    TChunkedArray< FTriangleSOA > & SOATriangles,
    TChunkedArray< NodeType > & Nodes
)

Remarks

Determines if the node is a leaf or not. If it is not a leaf, it subdivides the list of triangles again adding two child nodes and splitting them on the mean (splatter method). Otherwise it sets up the triangle information.

Returns

bounding box for this node

Parameters

Parameter

Description

Start

The triangle index to start processing with

NumTris

The number of triangles to process

BuildTriangles

The list of triangles to use for the build process

Nodes

The list of nodes in this tree

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss