Method | Description | |
---|---|---|
ButtonDoAllStyle ( ) : |
||
DrawAlphaSelector ( TerrainPainter.TerrainPainter tp, Color color ) : void | ||
DrawNoiseEditor ( TerrainPainter.TerrainPainter tp, int resolution ) : void | ||
DrawNone ( ) : void |
No tool selected
|
|
DrawSwitch ( bool value, string left_false, string right_true ) : bool |
Draw brush settings
|
|
DrawTitleLabel ( string msg ) : void | ||
DrawTooltip ( int startIndex, string title ) : void | ||
DrawTooltip ( string title ) : void | ||
ToolbarOptions ( int items ) : UnityEngine.GUILayoutOption[] |
Method | Description | |
---|---|---|
DrawBrushSettings ( bool drawStrength = false ) : void | ||
DrawSlopeEditor ( TerrainPainter.TerrainPainter tp, System.Action additional ) : void | ||
GetAlpha ( Point pos, Point target, |
||
GetAlphaRaw ( Vector2 pos, Vector2 target, |
||
GetBaseData ( Point current, float otherResolution, float &height, float &angle ) : void | ||
GetNoiseValue ( Point current, float otherResolution ) : float |
Method | Description | |
---|---|---|
CurrentRect ( ) : |
Get current rect
|
|
CurrentRect ( float height ) : |
Get current rect
|
|
CurrentRect ( float width, float height ) : |
Get current rect
|
|
DrawHelpBox ( string title, string msg ) : void |
Draw help box
|
|
FlexibleSpace ( int amount = 1 ) : void |
Add EditorGUILayout FlexibleSpace
|
|
IconContent ( string file, string tooltip = default(string) ) : |
See EditorGUIUtilitiy.IconContent But this is for this DLL
|
|
LoadIcon ( string file ) : |
Load icon
|
|
OnInspectorGUI ( TerrainPainter.TerrainPainter c ) : void | ||
OnSceneGUI ( TerrainPainter.TerrainPainter c ) : void | ||
Seperator ( int amount = 1 ) : void |
Adds EditorGUILayout seperators
|
public static ButtonDoAllStyle ( ) : |
||
return |
public DrawAlphaSelector ( TerrainPainter.TerrainPainter tp, Color color ) : void | ||
tp | TerrainPainter.TerrainPainter | |
color | Color | |
return | void |
protected DrawBrushSettings ( bool drawStrength = false ) : void | ||
drawStrength | bool | |
return | void |
public static DrawNoiseEditor ( TerrainPainter.TerrainPainter tp, int resolution ) : void | ||
tp | TerrainPainter.TerrainPainter | |
resolution | int | |
return | void |
protected DrawSlopeEditor ( TerrainPainter.TerrainPainter tp, System.Action additional ) : void | ||
tp | TerrainPainter.TerrainPainter | |
additional | System.Action | |
return | void |
public static DrawSwitch ( bool value, string left_false, string right_true ) : bool | ||
value | bool | |
left_false | string | |
right_true | string | |
return | bool |
public static DrawTitleLabel ( string msg ) : void | ||
msg | string | |
return | void |
public DrawTooltip ( int startIndex, string title ) : void | ||
startIndex | int | |
title | string | |
return | void |
protected GetAlpha ( Point pos, Point target, |
||
pos | Point | |
target | Point | |
tex | ||
return | float |
protected GetAlphaRaw ( Vector2 pos, Vector2 target, |
||
pos | Vector2 | |
target | Vector2 | |
tex | ||
return | float |
protected GetBaseData ( Point current, float otherResolution, float &height, float &angle ) : void | ||
current | Point | |
otherResolution | float | |
height | float | |
angle | float | |
return | void |
protected GetNoiseValue ( Point current, float otherResolution ) : float | ||
current | Point | |
otherResolution | float | |
return | float |
public static ToolbarOptions ( int items ) : UnityEngine.GUILayoutOption[] | ||
items | int | |
return | UnityEngine.GUILayoutOption[] |