Skip to content

$script

1 natives. Read-only natives only look things up; the rest change something. Parameter types use the language's names (Types).

get_surface_type_debug_color

$script.get_surface_type_debug_color(surface_type: int) -> vec3

Get the debug color associated with a vsurface_type_t.

ParameterTypeMeaning
surface_typeintThe surface type (vsurface_type_t).

Returns vec3: The color.