Vixen
02b45cc4
csharp
public sealed class TerrainLayerSettings

The target-layer section of the terrain panel.

Read the guide page for this →

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 Name

    What the layer is called.

  • public string Albedo

    Its base colour texture.

  • public string Normal

    Its normal map.

  • public string Surface

    Its packed occlusion / roughness / metalness, with the blend height in alpha.

  • public float TilingMetres

    How many metres of world one repeat of the textures covers.

  • public Vector2 Offset

    Where the tiling starts, in metres.

  • public TerrainLayerBlend Blend

    How its texels combine with the layers under it.

  • public float HeightContrast

    How sharply a height blend transitions.

  • public bool IsWeightBlended

    Whether it shares the sum-to-one budget with the other layers.

  • public string PhysicsMaterial

    What the ground is made of, so a footstep knows it is on gravel.

  • public bool IsHeightBlended

    Whether the height-blend rows apply.

  • public TerrainBlend BlendBudget

    Which budget the layer is in.

  • public TerrainLayerDescription Description

    What the form describes.

  • public bool IsValid

    Whether it can.

Methods (3)

Used by (2)

  • Describes_Vixen_Editor_Terrain_TerrainLayerSettingsVixen.Editor.Terrain
  • TerrainPaintModeTestsVixen.Editor.Terrain.Tests