docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IBrushRotationController

    An interface that represent the controller for rotating the brush.

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

    Properties

    brushRotation

    Gets and sets the brush's rotation.

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

    brushRotationJitter

    Gets and sets the brush's jitter.

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

    brushRotationVal

    The rotation of the brush without jitter (in degrees).

    Declaration
    float brushRotationVal { get; }
    Property Value
    Type Description
    float

    currentRotation

    Gets the current rotation of the brush.

    Declaration
    float currentRotation { 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)