render/SetColorMaterialIgnoreZ

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(add definition of the material)
 
Line 17: Line 17:
 
|Parent=render
 
|Parent=render
 
|File=lua/includes/extensions/client/render.lua
 
|File=lua/includes/extensions/client/render.lua
|Line=111
+
|Line=95-99
 
}}
 
}}
 
{{Example
 
{{Example

Latest revision as of 18:49, 18 May 2016

 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
}

Examples

Example

Equivalent of this function

render.SetMaterial( Material( "color_ignorez" ) )


Personal tools
Navigation