docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IBrushSizeController

    An interface that represent the controller for the brush's size.

    Inherited Members
    IBrushController.isInUse
    IBrushController.OnEnterToolMode(BrushShortcutHandler<BrushShortcutType>)
    IBrushController.OnExitToolMode(BrushShortcutHandler<BrushShortcutType>)
    IBrushController.OnSceneGUI(Event, int, Terrain, IOnSceneGUI)
    IBrushController.OnInspectorGUI(Terrain, IOnInspectorGUI)
    IBrushController.OnPaint(Terrain, IOnPaint)
    IBrushController.AppendBrushInfo(Terrain, IOnSceneGUI, StringBuilder)
    Namespace: UnityEditor.TerrainTools
    Assembly: Unity.TerrainTools.Editor.dll
    Syntax
    public interface IBrushSizeController : IBrushController

    Properties

    brushSize

    Gets and sets the brush's size.

    Declaration
    float brushSize { get; set; }
    Property Value
    Type Description
    float

    brushSizeJitter

    Gets and sets the brush's jitter.

    Declaration
    float brushSizeJitter { get; set; }
    Property Value
    Type Description
    float

    brushSizeMax

    Gets and sets the brush's max size.

    Declaration
    float brushSizeMax { get; set; }
    Property Value
    Type Description
    float

    brushSizeMin

    Gets and sets the brush's min size.

    Declaration
    float brushSizeMin { get; set; }
    Property Value
    Type Description
    float

    brushSizeVal

    Gets the brush's size without jitter.

    Declaration
    float brushSizeVal { get; }
    Property Value
    Type Description
    float
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)