Class TMP_BaseShaderGUI
Base class for TextMesh Pro shader GUIs.
Inherited Members
ShaderGUI.OnMaterialPreviewGUI(MaterialEditor, Rect, GUIStyle)
ShaderGUI.OnMaterialInteractivePreviewGUI(MaterialEditor, Rect, GUIStyle)
ShaderGUI.OnMaterialPreviewSettingsGUI(MaterialEditor)
ShaderGUI.OnClosed(Material)
ShaderGUI.AssignNewShaderToMaterial(Material, Shader, Shader)
Namespace: TMPro.EditorUtilities
Assembly: solution.dll
Syntax
public abstract class TMP_BaseShaderGUI : ShaderGUI
Fields
Name | Description |
---|---|
m_Editor | |
m_Material | |
m_Properties | |
s_CullingTypeLabels | |
s_DebugExtended | |
s_LbrtVectorLabels | |
s_XywhVectorLabels |
Methods
Name | Description |
---|---|
BeginPanel(string, bool) | |
BeginPanel(string, ShaderFeature, bool, bool) | |
DoColor(string, string) | |
DoCubeMap(string, string) | |
DoFloat(string, string) | |
DoGUI() | Override this method to create the specific shader GUI. |
DoPopup(string, string, GUIContent[]) | |
DoSlider(string, string) | |
DoTexture2D(string, string, bool, string[]) | |
DoToggle(string, string) | |
DoUVSpeed(Rect, string[]) | |
DoVector(string, string, GUIContent[]) | |
DoVector3(string, string) | |
EndPanel() | |
OnGUI(MaterialEditor, MaterialProperty[]) | To define a custom shader GUI use the methods of materialEditor to render controls for the properties array. |