material_get_shader
Get the shader of a material.
References:
arguments
-
"material_name" : String
The name of the material. This name must be the full database name of the material, including namespace.
-
"shader_type" : String
The type of the shader. This name must one of volume_shader, environment_shader, surface_shader, or displacement_shader.
Possible Values:
- surface_shader
- volume_shader
- environment_shader
- displacement_shader
return value
StringThe name of the requested shader. If no shader of the request type was found an empty string is returned.