MixedRealityShaderGUI Class
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.
A custom base shader inspector for Mixed Reality Toolkit shaders.
public ref class MixedRealityShaderGUI abstract : UnityEditor::ShaderGUI
public abstract class MixedRealityShaderGUI : UnityEditor.ShaderGUI
type MixedRealityShaderGUI = class
inherit ShaderGUI
Public MustInherit Class MixedRealityShaderGUI
Inherits ShaderGUI
- Inheritance
-
UnityEditor.ShaderGUIMixedRealityShaderGUI
- Derived
Constructors
MixedRealityShaderGUI() |
Fields
Methods
FindProperties(MaterialProperty[]) | |
GetColorProperty(Material, String) |
Get the value of a given color property for a material |
GetFloatProperty(Material, String) |
Get the value of a given float property for a material |
GetVectorProperty(Material, String) |
Get the value of a given vector property for a material |
Initialize(Material) | |
MaterialChanged(Material) | |
OnGUI(MaterialEditor, MaterialProperty[]) | |
PropertyEnabled(MaterialProperty) |
Check whether shader feature is enabled |
RenderingModeOptions(MaterialEditor) | |
SetColorProperty(Material, String, Nullable<Color>) |
Set color property against associated material |
SetShaderFeatureActive(Material, String, String, Nullable<Single>) |
Sets the shader feature controlled by keyword and property name parameters active or inactive |
SetupMaterialWithRenderingMode(Material, MixedRealityShaderGUI+RenderingMode, MixedRealityShaderGUI+CustomRenderingMode, Int32) | |
SetVectorProperty(Material, String, Nullable<Vector4>) |
Sets vector property against associated material |