Display
core.display.get_lod_threshold
ClientRetrieves the global LOD threshold used when rendering models
Syntax
local threshold = core.display.get_lod_threshold()The threshold is global and combines with each component's LOD bias.
- Effective detail — roughly
bias / threshold, so a higher threshold uses less detailed LODs. - Per component — see
self:get_component_lod_biasfor a single component. - Local only — a render setting on this client, never replicated to other peers.
Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
float | threshold | Current global LOD threshold |
Examples
core.engine.print("info", "LOD threshold:", core.display.get_lod_threshold())