Method SetMaterialKeywords
SetMaterialKeywords(Material, Action<Material>, Action<Material>)
Sets up the keywords for the material and shader.
선언
public static void SetMaterialKeywords(Material material, Action<Material> shadingModelFunc = null, Action<Material> shaderFunc = null)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| Material | material | The material to use. |
| Action<Material> | shadingModelFunc | Function to set shading models. |
| Action<Material> | shaderFunc | Function to set some extra shader parameters. |