Garry's Mod Wiki

Entity:SetLOD

void Entity:SetLOD( number lod = -1 )

Description

Sets the Level Of Detail model to use with this entity. This may not work for all models if the model doesn't include any LOD sub models.

This function works exactly like the clientside r_lod convar and takes priority over it.

Arguments

1 number lod = -1
The Level Of Detail model ID to use. -1 leaves the engine to automatically set the Level of Detail.

The Level Of Detail may range from 0 to 8, with 0 being the highest quality and 8 the lowest.

Page Links


Special Pages


Wikis

?

Render Time: 31ms

Session 0
DB GetPage 4
Generate Html 1
SaveChanges 9
Render Body 0
Render Sidebar 14