AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
HoloToolkit.Unity.CustomMaterialEditor Class Reference

Helper class for custom material editors More...

Static Public Member Functions

static Rect TextureWithToggleableColorSingleLine (MaterialEditor matEditor, GUIContent label, MaterialProperty textureProp, MaterialProperty colorToggleProp, MaterialProperty colorProp)
 
static void SetScaleOffsetKeywords (MaterialEditor matEditor, MaterialProperty textureProp, MaterialProperty scaleOffsetProp)
 
static Rect TextureWithToggleableColorAutoScaleOffsetSingleLine (MaterialEditor matEditor, GUIContent label, MaterialProperty textureProp, MaterialProperty colorToggleProp, MaterialProperty colorProp, MaterialProperty scaleOffsetProp)
 
static void TextureScaleOffsetVector4Property (MaterialEditor matEditor, MaterialProperty scaleOffsetProp)
 
static Rect GetControlRectForSingleLine ()
 

Detailed Description

Helper class for custom material editors

Definition at line 12 of file CustomMaterialEditor.cs.

Member Function Documentation

§ GetControlRectForSingleLine()

static Rect HoloToolkit.Unity.CustomMaterialEditor.GetControlRectForSingleLine ( )
static

Definition at line 134 of file CustomMaterialEditor.cs.

§ SetScaleOffsetKeywords()

static void HoloToolkit.Unity.CustomMaterialEditor.SetScaleOffsetKeywords ( MaterialEditor  matEditor,
MaterialProperty  textureProp,
MaterialProperty  scaleOffsetProp 
)
static

Definition at line 70 of file CustomMaterialEditor.cs.

§ TextureScaleOffsetVector4Property()

static void HoloToolkit.Unity.CustomMaterialEditor.TextureScaleOffsetVector4Property ( MaterialEditor  matEditor,
MaterialProperty  scaleOffsetProp 
)
static

Definition at line 105 of file CustomMaterialEditor.cs.

§ TextureWithToggleableColorAutoScaleOffsetSingleLine()

static Rect HoloToolkit.Unity.CustomMaterialEditor.TextureWithToggleableColorAutoScaleOffsetSingleLine ( MaterialEditor  matEditor,
GUIContent  label,
MaterialProperty  textureProp,
MaterialProperty  colorToggleProp,
MaterialProperty  colorProp,
MaterialProperty  scaleOffsetProp 
)
static

Definition at line 90 of file CustomMaterialEditor.cs.

§ TextureWithToggleableColorSingleLine()

static Rect HoloToolkit.Unity.CustomMaterialEditor.TextureWithToggleableColorSingleLine ( MaterialEditor  matEditor,
GUIContent  label,
MaterialProperty  textureProp,
MaterialProperty  colorToggleProp,
MaterialProperty  colorProp 
)
static

Definition at line 15 of file CustomMaterialEditor.cs.


The documentation for this class was generated from the following file: