MaterialExtensions.SetRenderingMode

Extension Method in MaterialExtensions

Declaration

public static void SetRenderingMode(this Material material, RenderingMode mode)

Description

Sets the rendering mode of the material, see RenderingMode.

Parameters

materialThe material to set the rendering mode on.
modeThe rendering mode to set.