Interface IBrushSmoothController | Terrain Tools | 3.0.2-preview.3
docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX
    on 10 November 2020