Vixen
c7401864
csharp
public readonly record struct TerrainSceneEntry

One terrain the frame draws: the heightfield, its placement, and its rules.

Read the guide page for this →

Fields and properties (7)

  • public Terrain Terrain

    The heightfield.

  • public Vector3 Origin

    Where its low corner is, in world space — the entity's translation.

  • public float NearRange

    How far level 0 reaches, or zero for the node's quality default.

  • public int LodBias

    Levels added to every pick, positive for coarser. ⚠ Carried, not yet consumed.

  • public bool CastShadows

    Whether it draws into the sun's cascade atlas — TerrainCasterRenderer is the consumer, and a frame whose every terrain says false declares no caster pass at all.

  • public GrassType? Grass

    The grass rule, or null for a terrain with none.

  • public float GrassRange

    How far grass cells stay resident, in metres. Zero takes the default.

Methods (1)

  • public TerrainSceneEntry(Terrain Terrain, Vector3 Origin, float NearRange, int LodBias, bool CastShadows, GrassType? Grass, float GrassRange)

    One terrain the frame draws: the heightfield, its placement, and its rules.

Used by (4)

  • TerrainCasterRendererVixen.Rendering.Terrain
  • TerrainNodeTestsVixen.Rendering.Terrain.Tests
  • TerrainSceneRendererVixen.Rendering.Terrain
  • TerrainSceneSourceVixen.Rendering.Terrain