Entity:SetLOD

From Garry's Mod
Jump to: navigation, search
 Entity:SetLOD( )

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

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.
Personal tools
Navigation