public sealed class TerrainLayerSettingsThe target-layer section of the terrain panel.
Remarks
[docs/plan/31 § The terrain panel]: the paint channels the terrain's layer list declares, each with its coverage, an assign control for the .vxlayer, and a weight-blended toggle. Selecting one makes it the paint target — which is Target, and the tools are the strip.
⚠ The layer being painted changes far more often than the tool, so the list is above the strip and not in it. That is Unreal's layout and it is correct: an artist paints grass, then rock, then grass again with the same tool, and a design that made the layer a mode would make that three mode switches.
Fields and properties (14)
public string NameWhat the layer is called.
public string AlbedoIts base colour texture.
public string NormalIts normal map.
public string SurfaceIts packed occlusion / roughness / metalness, with the blend height in alpha.
public float TilingMetresHow many metres of world one repeat of the textures covers.
public Vector2 OffsetWhere the tiling starts, in metres.
public TerrainLayerBlend BlendHow its texels combine with the layers under it.
public float HeightContrastHow sharply a height blend transitions.
public bool IsWeightBlendedWhether it shares the sum-to-one budget with the other layers.
public string PhysicsMaterialWhat the ground is made of, so a footstep knows it is on gravel.
public bool IsHeightBlendedWhether the height-blend rows apply.
public TerrainBlend BlendBudgetWhich budget the layer is in.
public TerrainLayerDescription DescriptionWhat the form describes.
public bool IsValidWhether it can.
Methods (3)
public string? Validate()Why the layer cannot be used, or if it can.
public static TerrainLayerSettings Of(TerrainLayerDescription layer, TerrainBlend blend = Weight)Fills the form in from a layer that already exists.
public static IReadOnlyList<TerrainTargetRow> Rows(Terrain terrain)The rows the target-layer section draws.
Used by (2)
- Describes_Vixen_Editor_Terrain_TerrainLayerSettingsVixen.Editor.Terrain
- TerrainPaintModeTestsVixen.Editor.Terrain.Tests