Helper class for custom material editors
More...
|
| 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 () |
| |
Helper class for custom material editors
Definition at line 12 of file CustomMaterialEditor.cs.
§ GetControlRectForSingleLine()
| static Rect HoloToolkit.Unity.CustomMaterialEditor.GetControlRectForSingleLine |
( |
| ) |
|
|
static |
§ SetScaleOffsetKeywords()
| static void HoloToolkit.Unity.CustomMaterialEditor.SetScaleOffsetKeywords |
( |
MaterialEditor |
matEditor, |
|
|
MaterialProperty |
textureProp, |
|
|
MaterialProperty |
scaleOffsetProp |
|
) |
| |
|
static |
§ TextureScaleOffsetVector4Property()
| static void HoloToolkit.Unity.CustomMaterialEditor.TextureScaleOffsetVector4Property |
( |
MaterialEditor |
matEditor, |
|
|
MaterialProperty |
scaleOffsetProp |
|
) |
| |
|
static |
§ TextureWithToggleableColorAutoScaleOffsetSingleLine()
| static Rect HoloToolkit.Unity.CustomMaterialEditor.TextureWithToggleableColorAutoScaleOffsetSingleLine |
( |
MaterialEditor |
matEditor, |
|
|
GUIContent |
label, |
|
|
MaterialProperty |
textureProp, |
|
|
MaterialProperty |
colorToggleProp, |
|
|
MaterialProperty |
colorProp, |
|
|
MaterialProperty |
scaleOffsetProp |
|
) |
| |
|
static |
§ TextureWithToggleableColorSingleLine()
| static Rect HoloToolkit.Unity.CustomMaterialEditor.TextureWithToggleableColorSingleLine |
( |
MaterialEditor |
matEditor, |
|
|
GUIContent |
label, |
|
|
MaterialProperty |
textureProp, |
|
|
MaterialProperty |
colorToggleProp, |
|
|
MaterialProperty |
colorProp |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: