docs.unity3d.com
    Show / Hide Table of Contents

    Interface IBrushEventHandler

    An interface that represent handling methods for brush events.

    Namespace: UnityEditor.TerrainTools
    Syntax
    public interface IBrushEventHandler

    Methods

    ConsumeEvents(Terrain, IOnSceneGUI)

    Consume previously registered events.

    Declaration
    void ConsumeEvents(Terrain terrain, IOnSceneGUI editContext)
    Parameters
    Type Name Description
    Terrain terrain

    The terrain in focus.

    IOnSceneGUI editContext

    The IOnSceneGUI to reference.

    RegisterEvent(Event)

    Register a system event for processing later.

    Declaration
    void RegisterEvent(Event newEvent)
    Parameters
    Type Name Description
    Event newEvent

    The event to register.

    RequestRepaint()

    Allows us to request a repaint of the GUI and scene-view.

    Declaration
    void RequestRepaint()
    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