Vixen
c7401864
csharp
public readonly record struct FoliageSceneEntry

One foliage volume the frame draws: the instances, their placement, and their reach.

Read the guide page for this →

Remarks

⚠ The volume's identity is the entry's identity. The compositor node keys its device state — the cull pass, the streamer, the uploaded meshes — by the volume object, so an asset source that rebuilt the volume every frame would rebuild all of it every frame. CastShadows is not carried here: it is per type, readable off Palette, which is where the shadow caster task consumes it.

Fields and properties (3)

  • public FoliageVolume Volume

    The instances, palette applied — the same object frame over frame.

  • public Vector3 Origin

    Where the volume's origin stands, in world space — the entity's translation.

  • public float Range

    How far cells stay uploaded, in metres. Zero takes the node's default.

Methods (1)

  • public FoliageSceneEntry(FoliageVolume Volume, Vector3 Origin, float Range)

    One foliage volume the frame draws: the instances, their placement, and their reach.

Used by (3)

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