Inheritance
System.Object
BrushUITools
public static class BrushUITools
Fields
Declaration
public static int s_TerrainEditorHash
Field Value
Type |
Description |
System.Int32 |
|
Methods
Declaration
public static float ConstrainedIntField(float value, float minValue, float maxValue)
Parameters
Type |
Name |
Description |
System.Single |
value |
|
System.Single |
minValue |
|
System.Single |
maxValue |
|
Returns
Type |
Description |
System.Single |
|
MinMaxSliderWithTextBoxes(ref Single, ref Single, Single, Single)
Declaration
public static float MinMaxSliderWithTextBoxes(ref float min, ref float max, float minLimit, float maxLimit)
Parameters
Type |
Name |
Description |
System.Single |
min |
|
System.Single |
max |
|
System.Single |
minLimit |
|
System.Single |
maxLimit |
|
Returns
Type |
Description |
System.Single |
|
PercentSlider(GUIContent, Single, Single, Single)
Declaration
public static float PercentSlider(GUIContent content, float valueInPercent, float minVal, float maxVal)
Parameters
Type |
Name |
Description |
GUIContent |
content |
|
System.Single |
valueInPercent |
|
System.Single |
minVal |
|
System.Single |
maxVal |
|
Returns
Type |
Description |
System.Single |
|