csharp
public readonly record struct TerrainLodNodeOne patch of terrain a frame draws, at one level of detail.
Remarks
Every node is drawn from the same instanced grid patch, scaled and placed — which is what makes a terrain one draw call. This is the per-instance record that says where.
Fields and properties (6)
public int XThe low X of the samples it covers.
public int ZThe low Z of the samples it covers.
public int QuadsHow many quads it spans along each axis.
public int LevelWhich level of detail it is. 0 is the finest.
public float MorphHow far it has morphed towards its parent's grid, 0…1.
public TerrainRect RectThe samples it covers, its far edge included.
Methods (1)
public TerrainLodNode(int X, int Z, int Quads, int Level, float Morph)One patch of terrain a frame draws, at one level of detail.
Used by (6)
- TerrainGridPatchTestsVixen.Rendering.Terrain.Tests
- TerrainLodTestsVixen.Terrain.Tests
- TerrainLodTreeVixen.Terrain
- TerrainNodeRecordVixen.Rendering.Terrain
- TerrainRendererVixen.Rendering.Terrain
- TypeRegistrationVixen.Terrain