Method ResetMaterialKeywords
ResetMaterialKeywords(Material)
Reset the dedicated Keyword and Pass regarding the shader kind. Also re-init the drawers and set the material dirty for the engine.
선언
public static bool ResetMaterialKeywords(Material material)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| Material | material | The material that needs to be setup |
반환
| 타입 | 설명 |
|---|---|
| bool | True: managed to do the operation. False: unknown shader used in material |