docs.unity.cn
    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, Int32, Terrain, IOnSceneGUI)
    IBrushController.OnInspectorGUI(Terrain, IOnInspectorGUI)
    IBrushController.OnPaint(Terrain, IOnPaint)
    IBrushController.AppendBrushInfo(Terrain, IOnSceneGUI, StringBuilder)
    Namespace: UnityEditor.TerrainTools
    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
    Boolean

    brushSpacing

    Gets the brush's spacing.

    Declaration
    float brushSpacing { get; }
    Property Value
    Type Description
    Single
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Monday, February 13, 2023
    Terms of use