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_sizeWriteArguments
| Name | Type | Description |
|---|---|---|
lodreq | integer | LOD index. 0 is full detail. |
meshreq | string | Path to a Static Mesh asset. |
screen_sizereq | number | Fraction 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. |
force | boolean = 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. |
Related tools
Nearby in Levels of detail: