Class FillContext | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class FillContext

    Inheritance
    System.Object
    FillContext
    Namespace: UnityEditor.Experimental.TerrainAPI
    Syntax
    public class FillContext

    Constructors

    FillContext(Terrain, Int32, Int32)

    Declaration
    public FillContext(Terrain terrain, int targetTextureWidth, int targetTextureHeight)
    Parameters
    Type Name Description
    Terrain terrain
    System.Int32 targetTextureWidth
    System.Int32 targetTextureHeight

    Properties

    destinationRenderTexture

    Declaration
    public RenderTexture destinationRenderTexture { get; }
    Property Value
    Type Description
    RenderTexture

    oldRenderTexture

    Declaration
    public RenderTexture oldRenderTexture { get; }
    Property Value
    Type Description
    RenderTexture

    pixelRect

    Declaration
    public RectInt pixelRect { get; }
    Property Value
    Type Description
    RectInt

    pixelSize

    Declaration
    public Vector2 pixelSize { get; }
    Property Value
    Type Description
    Vector2

    sourceRenderTexture

    Declaration
    public RenderTexture sourceRenderTexture { get; }
    Property Value
    Type Description
    RenderTexture

    targetTextureHeight

    Declaration
    public int targetTextureHeight { get; }
    Property Value
    Type Description
    System.Int32

    targetTextureWidth

    Declaration
    public int targetTextureWidth { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    CreateRenderTargets(RenderTextureFormat)

    Declaration
    public void CreateRenderTargets(RenderTextureFormat format)
    Parameters
    Type Name Description
    RenderTextureFormat format

    GatherAlphamap(TerrainLayer)

    Declaration
    public void GatherAlphamap(TerrainLayer inputLayer)
    Parameters
    Type Name Description
    TerrainLayer inputLayer

    GatherHeightmap()

    Declaration
    public void GatherHeightmap()

    ScatterHeightmap(String)

    Declaration
    public void ScatterHeightmap(string editorUndoName)
    Parameters
    Type Name Description
    System.String editorUndoName
    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