ShaderGraphMaterial
Provides methods to query and modify material parameters for dynamic customization at runtime.
Each parameter is accessible by name and supports various data types.
Types
The companion object of ShaderGraphMaterial.
Functions
Gets the blending mode of the ShaderGraphMaterial.
Gets the MaterialCullingMode of the ShaderGraphMaterial.
Gets the state of depth testing for the material.
Gets the state of depth writing for the material.
Gets the name of the ShaderGraphMaterial.
Gets the the value of a parameter by its name and type.
Gets all parameter names of the ShaderGraphMaterial.
Gets the fill mode for rendering polygons in the material.
Sets the blending mode of the ShaderGraphMaterial.
Sets the MaterialCullingMode of the ShaderGraphMaterial.
Enables or disables depth testing for the material.
Enables or disables depth writing for the material.
Sets the value of a texture resource parameter by its name.
Sets the value of a color3 parameter by its name.
Sets the value of a color4 parameter by its name.
Sets the value of a matrix3 parameter by its name.
Sets the value of a matrix4 parameter by its name.
Sets the value of a vector2 parameter by its name.
Sets the value of a vector3 parameter by its name.
Sets the value of a vector4 parameter by its name.
Sets the value of a boolean parameter by its name.
Sets the value of a float parameter by its name.
Sets the value of an integer parameter by its name.
Sets the fill mode for rendering polygons in the material.