MixedRealityShaderGUI Class
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
Find |
|
Get |
Get the value of a given color property for a material |
Get |
Get the value of a given float property for a material |
Get |
Get the value of a given vector property for a material |
Initialize(Material) | |
Material |
|
OnGUI(Material |
|
Property |
Check whether shader feature is enabled |
Rendering |
|
Set |
Set color property against associated material |
Set |
Sets the shader feature controlled by keyword and property name parameters active or inactive |
Setup |
|
Set |
Sets vector property against associated material |
Product | Versions |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |