StandardShaderUtility.IsUsingMrtkStandardShader(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 Mixed Reality Toolkit/Standard shader.
public:
static bool IsUsingMrtkStandardShader(UnityEngine::Material ^ material);
public static bool IsUsingMrtkStandardShader (UnityEngine.Material material);
static member IsUsingMrtkStandardShader : UnityEngine.Material -> bool
Public Shared Function IsUsingMrtkStandardShader (material As Material) As Boolean
Parameters
- material
- UnityEngine.Material
The material to check.
Returns
True if the material is using the Mixed Reality Toolkit/Standard shader