docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IBrushSpacingController

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

    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 IBrushSpacingController : IBrushController

    Properties

    allowPaint

    Gets and sets the bool value that determines if painting is allowed.

    Declaration
    bool allowPaint { get; set; }
    Property Value
    Type Description
    bool

    brushSpacing

    Gets the brush's spacing.

    Declaration
    float brushSpacing { get; set; }
    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)