Modifier

Partager via


StandardShaderUtility.IsUsingMrtkStandardShader(Material) Method

Definition

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

Applies to