- Documentation
- Server functions
- setElementLowLOD
Function
setElementLowLOD
Marks an object as a low-LOD model.
Syntax
bool setElementLowLOD(element theElement, bool enabled)Arguments
theElementelement- The object.
enabledbooltruemarks it.
Returns
true on success.
Example
local lod = createObject(4000, 1500, -1600, 13, 0, 0, 0, true)
setElementLowLOD(lod, true)
See also
setLowLODElementAssigns an object its simplified version seen from afar (LOD). In Trilogy Hub draw distances are computed by Unreal Engine, so the assignment is stored for compatibility with existing scripts (getLowLODElement) but does not change the in-game look.isElementLowLODChecks whether an element is a low-LOD object (a simplified model seen from afar).