WireframeShaderGUI Class

Definition

A custom shader inspector for the "Graphics Tools/Wireframe" shader.

C#
public class WireframeShaderGUI : Microsoft.MixedReality.GraphicsTools.Editor.BaseShaderGUI
Inheritance
UnityEditor.ShaderGUI
WireframeShaderGUI

Constructors

Fields

Methods

AdvancedOptions(MaterialEditor, Material)

Displays inspectors settings for features users don't need to alter often.

AssignNewShaderToMaterial(Material, Shader, Shader)

Attempts to copy material properties from other shaders to the Graphics Tools/Wireframe shader.

FindProperties(MaterialProperty[])

Looks for common properties associated with render mode.

Initialize(Material)

Sets up the rendering mode once.

(Inherited from BaseShaderGUI)
MaterialChanged(Material)

Ensures the new material has the right render mode settings.

(Inherited from BaseShaderGUI)
OnGUI(MaterialEditor, MaterialProperty[])

Displays inspector options for wireframe rendering.

RenderingModeOptions(MaterialEditor)

Displays various render mode options in the inspector.

(Inherited from BaseShaderGUI)

Applies to

Product Versies
Mixed Reality Graphics Tools Unity 0.4.0