Method SetMaterialKeywords
SetMaterialKeywords(Material, Action<Material>, Action<Material>)
Sets up the keywords for the material and shader.
Declaration
public static void SetMaterialKeywords(Material material, Action<Material> shadingModelFunc = null, Action<Material> shaderFunc = null)
Parameters
Type | Name | Description |
---|---|---|
Material | material | The material to use. |
Action<Material> | shadingModelFunc | Function to set shading models. |
Action<Material> | shaderFunc | Function to set some extra shader parameters. |