Interface IBrushSmoothController | Package Manager UI website
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
    System.Boolean

    kernelSize

    Declaration
    float kernelSize { get; set; }
    Property Value
    Type Description
    System.Single

    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
    System.Single brushSize
    System.Single brushRotation
    System.Single brushStrength
    Vector2 uv
    Returns
    Type Description
    System.Boolean

    OnSceneGUI(Terrain, IOnSceneGUI)

    Declaration
    void OnSceneGUI(Terrain terrain, IOnSceneGUI editContext)
    Parameters
    Type Name Description
    Terrain terrain
    IOnSceneGUI editContext
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX