VoxelTerrainPose

Extends: roAssociativeArray

Properties

  • camX (float) — Camera position on the map, in cells
  • camZ (float)
  • camHeight (float) — Camera height in height units (the map's 0-255 scale)
  • forwardX (float) — The level view direction and its right, on the map plane (unit length)
  • forwardZ (float)
  • rightX (float)
  • rightZ (float)
  • focal (float) — Focal length in pixels
  • viewWidth (float) — Size of the level view being marched, in pixels
  • viewHeight (float)
  • horizon (float) — Screen y of the horizon in the level view (horizon shift pitch)
  • pitch (float) — Pitch in radians, looking up positive, for exactPitch
  • exactPitch (boolean) — Project each step with the pitched camera instead of shifting the horizon
  • distance (float) — How far to march, in cells
  • cellSize (float) — World units per cell and per height unit
  • heightScale (float)