Interface IBrushSmoothController | Terrain Tools | 3.0.2-preview.3
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IBrushSmoothController

    Namespace: UnityEditor.Experimental.TerrainAPI
    Syntax
    public interface IBrushSmoothController

    Properties

    active

    Declaration
    bool active { get; }
    Property Value
    Type Description
    Boolean

    kernelSize

    Declaration
    int kernelSize { get; set; }
    Property Value
    Type Description
    Int32

    Methods

    OnEnterToolMode()

    Declaration
    void OnEnterToolMode()

    OnExitToolMode()

    Declaration
    void OnExitToolMode()

    OnInspectorGUI(Terrain, IOnInspectorGUI)

    Declaration
    void OnInspectorGUI(Terrain terrain, IOnInspectorGUI editContext)
    Parameters
    Type Name Description
    Terrain terrain
    IOnInspectorGUI editContext

    OnPaint(Terrain, IOnPaint, Single, Single, Single, Vector2)

    Declaration
    bool OnPaint(Terrain terrain, IOnPaint editContext, float brushSize, float brushRotation, float brushStrength, Vector2 uv)
    Parameters
    Type Name Description
    Terrain terrain
    IOnPaint editContext
    Single brushSize
    Single brushRotation
    Single brushStrength
    Vector2 uv
    Returns
    Type Description
    Boolean

    OnSceneGUI(Terrain, IOnSceneGUI)

    Declaration
    void OnSceneGUI(Terrain terrain, IOnSceneGUI editContext)
    Parameters
    Type Name Description
    Terrain terrain
    IOnSceneGUI editContext
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • 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 18 October 2023