IndexList

List of indices for a given Box.

Windows
MacOS
Linux

Syntax

TDynamicVector< int > IndexList

Remarks

List of indices for a given Box. There is no marker/sentinel between boxes, you have to get the starting index from BoxToIndex[]

There are three kinds of records:

  • if i < TrianglesEnd, then the list is a number of Triangles, stored as [N t1 t2 t3 ... tN]

  • if i > TrianglesEnd and IndexList[i] < 0, this is a single-child internal Box, with index (-IndexList[i])-1 (shift-by-one in case actual value is 0!)

  • if i > TrianglesEnd and IndexList[i] > 0, this is a two-child internal Box, with indices IndexList[i]-1 and IndexList[i+1]-1

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