docs.unity3d.com
    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, Int32, Terrain, IOnSceneGUI)
    IBrushController.OnInspectorGUI(Terrain, IOnInspectorGUI)
    IBrushController.OnPaint(Terrain, IOnPaint)
    IBrushController.AppendBrushInfo(Terrain, IOnSceneGUI, StringBuilder)
    Namespace: UnityEditor.TerrainTools
    Syntax
    public interface IBrushSizeController : IBrushController

    Properties

    brushSize

    Gets and sets the brush's size.

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

    brushSizeJitter

    Gets and sets the brush's jitter.

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

    brushSizeMax

    Gets and sets the brush's max size.

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

    brushSizeMin

    Gets and sets the brush's min size.

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

    brushSizeVal

    Gets the brush's size without jitter.

    Declaration
    float brushSizeVal { get; }
    Property Value
    Type Description
    Single
    Back to top
    Copyright © 2023 Unity Technologies
    • 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 Friday, November 3, 2023