Skip to content
Jigwright
HullForge docs

Set LOD Screen Size

Set one LOD's screen size on a static mesh and verify it by reading it back. REFUSES while Auto Compute LOD Distances is on, because the build overwrites the value and the write would appear to succeed and change nothing.

hf_set_lod_screen_sizeWrite

Arguments

NameTypeDescription
lodreqintegerLOD index. 0 is full detail.
meshreqstringPath to a Static Mesh asset.
screen_sizereqnumberFraction of the screen the mesh covers below which this LOD takes over. Must be lower than the LOD above it and higher than the LOD below it.
forceboolean
= false
Edit even when the asset cannot currently be saved - for example when revision control is configured but disconnected. The change will be made in memory and WILL BE LOST unless the underlying problem is fixed before saving. Only pass this if you intend to discard the work or fix the connection first.

Nearby in Levels of detail: