Class FillContext
Inheritance
System.Object
FillContext
Syntax
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
pixelSize
Declaration
public Vector2 pixelSize { get; }
Property Value
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 |
|