Class BrushUITools | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class BrushUITools

    Inheritance
    System.Object
    BrushUITools
    Namespace: UnityEditor.Experimental.TerrainAPI
    Syntax
    public static class BrushUITools

    Fields

    s_TerrainEditorHash

    Declaration
    public static int s_TerrainEditorHash
    Field Value
    Type Description
    System.Int32

    Methods

    ConstrainedIntField(Single, Single, Single)

    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023