Method AssignNewShaderToMaterial
AssignNewShaderToMaterial(Material, Shader, Shader)
Assigns a new shader to the material.
선언
public override void AssignNewShaderToMaterial(Material material, Shader oldShader, Shader newShader)
파라미터
타입 | 이름 | 설명 |
---|---|---|
Material | material | The material to use. |
Shader | oldShader | The old shader. |
Shader | newShader | The new shader to replace. |