material
material datatype
Functions
modulate
material:modulate(render.color(255, 0, 0, 0))
Parameter
Datatype
Description
color
render.color
color to modulate material to
get_flag
material:get_flag(mat.var_ignorez)
Parameter
Datatype
Description
Returns:
Value
Datatype
flag state
boolean
set_flag
material:set_flag(mat.var_ignorez, true)
find_var
material:find_var("$basetexture")
Parameter
Datatype
Description
Returns:
Value
Datatype
var object
material var
get_name
material:get_name()
Returns:
Value
Datatype
material's name
string
get_group
material:get_group()
Returns:
Value
Datatype
material's group name
string
Enums
Material var flags
var_debug
var_no_debug_override
var_no_draw
var_use_in_fillrate_mode
var_vertexcolor
var_vertexalpha
var_selfillum
var_additive
var_alphatest
var_znearer
var_model
var_flat
var_nocull
var_nofog
var_ignorez
var_decal
var_envmapsphere
var_envmapcameraspace
var_basealphaenvmapmask
var_translucent
var_normalmapalphaenvmapmask
var_needs_software_skinning
var_opaquetexture
var_envmapmode
var_suppress_decals
var_halflambert
var_wireframe
var_allowalphatocoverage
var_alpha_modified_by_proxy
var_vertexfog
Last updated