RenderQualitySettings

Extends: roAssociativeArray

Every draw-quality value a BGE.Renderer uses. Each BGE.RenderQualityLevel has a preset (see BGE.getRenderQualityPreset()); override individual fields per level with game.renderQuality.overridePreset().

Adding a new quality setting: add the field here, give it a value at every level in RenderQualityPresets.bs, and read it via renderer.qualitySettings.

Properties

  • drawDistanceScale (float) — Multiplier on Camera3d.maxDrawDistance
  • drawDistanceOverride (float) — Absolute draw distance for this level; 0 or less means "use drawDistanceScale"
  • planeSliceCount (integer) — Horizontal slices used to draw a DrawablePlane in perspective
  • triangleSkipSize (float) — Triangles smaller than this many pixels on both axes are skipped
  • triangleQuickDrawThreshold (float) — Triangles smaller than this on either axis are drawn with the cheaper line-fill
  • triangleQuickDrawStep (integer) — Pixel step between lines in the cheap line-fill (1 = solid)
  • fastDrawParallelogramTolerance (float) — How far from a true parallelogram a billboard's quad may be and still use the
  • fastDrawPerpendicularityTolerance (float) — How far from perpendicular a billboard's quad edges may be and still use the