material_var
material_var datatype
Functions
get_int
material_var:get_int()
Returns:
set_int
material_var:set_int(1)
value
number
integer value to set var to
get_float
material_var:get_float()
Returns:
set_float
material_var:set_float(1.5)
value
number
floating point value to set var to
get_string
material_var:get_string()
Returns:
set_string
material_var:set_string("abc")
value
string
string value to set var to
get_vector
material_var:get_vector()
Returns:
set_vector
material_var:set_vector(1, 2, 3)
Last updated