StandardShaderUtility.IsUsingGraphicsToolsStandardShader(Material) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks if a material is using the Graphics Tools/Standard or Standard Canvas shader.
public static bool IsUsingGraphicsToolsStandardShader (UnityEngine.Material material);
static member IsUsingGraphicsToolsStandardShader : UnityEngine.Material -> bool
Public Shared Function IsUsingGraphicsToolsStandardShader (material As Material) As Boolean
Parameters
- material
- UnityEngine.Material
The material to check.
Returns
True if the material is using the shader