Documentation

Unity Engine

Download Unity

Unity Engine

TerrainLayerBlendMode

How TerrainEditUtility.PaintLayers changes the weight of a layer.
Read time 1 minuteLast updated 22 days ago

Definition

public enum TerrainLayerBlendMode

Fields

Value

Description

BlendMoves the weight towards 1 by the opacity, like the Paint Texture brush: weight += opacity * (1 - weight).
SetMakes the weight equal to the opacity.