Class BrushUITools | Terrain Tools | 3.0.2-preview.3
docs.unity3d.com
    Show / Hide Table of Contents

    Class BrushUITools

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

    Fields

    s_TerrainEditorHash

    Declaration
    public static int s_TerrainEditorHash
    Field Value
    Type Description
    Int32

    Methods

    ConstrainedIntField(Single, Single, Single)

    Declaration
    public static float ConstrainedIntField(float value, float minValue, float maxValue)
    Parameters
    Type Name Description
    Single value
    Single minValue
    Single maxValue
    Returns
    Type Description
    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
    Single min
    Single max
    Single minLimit
    Single maxLimit
    Returns
    Type Description
    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
    Single valueInPercent
    Single minVal
    Single maxVal
    Returns
    Type Description
    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