Show / Hide Table of Contents

Class TreeEditorHelper

Inheritance
Object
TreeEditorHelper
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: TreeEditor
Assembly: UnityEditor.dll
Syntax
public class TreeEditorHelper

Methods

| Improve this Doc View Source

AreShadersCorrect()

Declaration
public bool AreShadersCorrect()
Returns
Type Description
Boolean
| Improve this Doc View Source

ExtractLabel(String)

Declaration
public static string ExtractLabel(string uiString)
Parameters
Type Name Description
String uiString
Returns
Type Description
String
| Improve this Doc View Source

ExtractTooltip(String)

Declaration
public static string ExtractTooltip(string uiString)
Parameters
Type Name Description
String uiString
Returns
Type Description
String
| Improve this Doc View Source

GetGUIContent(String)

Declaration
public static GUIContent GetGUIContent(string id)
Parameters
Type Name Description
String id
Returns
Type Description
GUIContent
| Improve this Doc View Source

GetOptimizedShaderName(Shader)

Declaration
public static string GetOptimizedShaderName(Shader shader)
Parameters
Type Name Description
Shader shader
Returns
Type Description
String
| Improve this Doc View Source

GUITooManyShaders()

Declaration
public bool GUITooManyShaders()
Returns
Type Description
Boolean
| Improve this Doc View Source

GUIWrongShader(String, Material, TreeEditorHelper.NodeType)

Declaration
public bool GUIWrongShader(string uniqueID, Material value, TreeEditorHelper.NodeType nodeType)
Parameters
Type Name Description
String uniqueID
Material value
TreeEditorHelper.NodeType nodeType
Returns
Type Description
Boolean
| Improve this Doc View Source

IsTreeBarkShader(Shader)

Declaration
public static bool IsTreeBarkShader(Shader shader)
Parameters
Type Name Description
Shader shader
Returns
Type Description
Boolean
| Improve this Doc View Source

IsTreeLeafShader(Shader)

Declaration
public static bool IsTreeLeafShader(Shader shader)
Parameters
Type Name Description
Shader shader
Returns
Type Description
Boolean
| Improve this Doc View Source

NodeHasWrongMaterial(TreeGroup)

Declaration
public bool NodeHasWrongMaterial(TreeGroup group)
Parameters
Type Name Description
TreeGroup group
Returns
Type Description
Boolean
| Improve this Doc View Source

OnEnable(TreeData)

Declaration
public void OnEnable(TreeData treeData)
Parameters
Type Name Description
TreeData treeData
| Improve this Doc View Source

RefreshAllTreeShaders()

Declaration
public void RefreshAllTreeShaders()

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX