Garry's Mod Wiki

render.SetColorMaterialIgnoreZ

render.SetColorMaterialIgnoreZ

render.SetColorMaterialIgnoreZ()

Description

Sets the current drawing material to color_ignorez.

The material is defined as:

"UnlitGeneric" { "$basetexture" "color/white" "$model" 1 "$translucent" 1 "$vertexalpha" 1 "$vertexcolor" 1 "$ignorez" 1 }

Example

Equivalent of this function. Internally, the material used is cached so it is not created every frame like the code below implies.

render.SetMaterial( Material( "color_ignorez" ) )

Special Pages


Wikis

?

Render Time: 55ms

DB GetPage 39
Generate Html 0
SaveChanges (1) 7
Render Body 0
Render Sidebar 6