lodTablesSection top-level constant

DataSection const lodTablesSection

A data plugin's lodTables: levels of detail chosen by distance, a table each, for the groups named after it.

"lodTables": [{"name": "trees", "distances": [12, 40, 90]}]

A LodGroup named <id>.trees shows level 0 nearer than 12 metres from the camera, level 1 to 40, level 2 to 90 and level 3 beyond, clamped to its levels; any other group passes to the next policy. Registered as a LodPolicy with the renderer's RenderHooks, chained in dependency order with every other plugin's.

Implementation

const DataSection lodTablesSection = _LodTablesSection();