Libraries.Game.Graphics.Worlds

41 classes

  • A FoliageAsset is one kind of plant or object that can be scattered over a terrain, such as a pine, a rock or a tuft of grass.
  • A FoliageCell holds the copies of one foliage asset standing in one square cell of a terrain.
  • A FoliageCellDrawing is one model drawing some of a foliage cell's copies at one level of detail.
  • A FoliageCellItem draws the copies in one FoliageCell.
  • A FoliageCoverage holds where one foliage asset grows over one region of a terrain: a square grid of spots, each with a coverage from 0 (none) to 1 (the asset's full density).
  • A FoliageList is the list of foliage assets a terrain can be covered with, such as pines, rocks and grass, kept in its own file so terrains can share one.
  • This is a default and very primitive Terrain class that can be used to store data from a height map image.
  • A TerrainBrush holds the settings for changing a terrain by hand: which tool and operation to use (see TerrainTool), how big the brush is, how strong it is, and how its effect fades from the center to the edge.
  • A TerrainBrushPreview shows where a terrain brush is and how big it is: a thin ring at the brush's edge, and a fainter ring at half its size, where the default falloff is at half strength.
  • TerrainCollision gives a terrain collision only near one place, usually the player.
  • A TerrainCollisionPiece is a small square of ground that the physics engine can collide with, but that is never drawn.
  • TerrainData holds all of the heights for a terrain.
  • TerrainDescriber says what a terrain is like, in words, for a screen reader.
  • A TerrainEditHistory keeps the undo and redo lists for editing a terrain: one TerrainStrokeEdit per stroke.
  • TerrainFoliage holds the foliage of one terrain: where each foliage asset grows, and the copies drawn from that.
  • A TerrainGenerator makes and changes terrain in bulk, for building test worlds quickly.
  • A TerrainItem is a terrain as an item: it holds a WorldTerrain loaded from a terrain's folder, and its region models are its children.
  • A TerrainLake is one lake on a terrain: water at a level.
  • A TerrainMaterial is the whole look of a terrain's ground: up to four layers, each a Material, and how they blend.
  • A TerrainPatch is a rectangle of a terrain's samples that the physics engine can collide with.
  • The TerrainPrintMesh class makes a terrain's ground into a solid that a 3D printer can print: the ground on top, four straight sides, and a flat bottom.
  • A TerrainRampPreview shows a ramp before it is made: the outline of a rectangle from the ramp's start to its end, as wide as the brush, at the heights the ramp will have, so a sloping outline shows the slope.
  • A TerrainRegion holds the heights for one square piece of a terrain.
  • A TerrainRegionFarModel draws one region with less detail, for when it is far from the camera.
  • A TerrainRegionModel draws one TerrainRegion.
  • A TerrainRegionOutline shows a flat rectangle on a terrain, such as the region slot under the pointer, or a block of regions about to be added: an outline at one height, with a black edge, so it shows on light and dark ground.
  • A TerrainRiver is one river on a terrain: water that runs downhill along a path.
  • TerrainSplatFragmentShader colors the ground with up to four textures, blended by a splat map: each point of the ground says how much of each texture to show there.
  • TerrainSplatShaderProgram draws terrain with texture splatting.
  • TerrainStreamer keeps only the regions near a target, usually the player, loaded in a TerrainData, so a world can be far larger than what fits in memory.
  • A TerrainStroke is one use of a TerrainBrush on a TerrainData: everything from pressing the mouse button (or a key) to letting it go.
  • A TerrainStrokeEdit undoes and redoes one TerrainStroke.
  • A TerrainTextureStandIn stands for a terrain's splat texture at its place in the terrain's block of texture places (WorldTerrain).
  • TerrainTool names the kinds of change a terrain brush can make.
  • TerrainWater is a terrain's water: a sea at a level, and any number of lakes.
  • Stores the textures used for texture splatting.
  • WaterFragmentShader colors water.
  • WaterShaderMapping describes the water program's Vulkan pipeline: a forward program, drawn after the deferred lighting, over the lit image, with the default 3D vertex data, the G-buffer and the lights.
  • WaterShaderProgram draws water: lakes and seas over the terrain.
  • WaterSurface is a flat sheet of water: a Model drawn with a WaterShaderProgram, after the lighting, over the ground.
  • A WorldTerrain is ground for a large world.