Render Test Editor Tool
Debug editor tool providing an alternate camera viewport with configurable projection (orthographic/perspective), position, and clipping.
Debug editor tool providing an alternate camera viewport with configurable projection (orthographic/perspective), position, and clipping.
Overview
Renders a secondary camera view to texture using renderCameraToTexture(). Supports multiple view modes (top, front, left, etc.), mouse drag panning, scroll-wheel zoom, and optional vehicle attachment.
Public API
| Function | Signature | Description |
|---|---|---|
M.onEditorInitialized | M.onEditorInitialized() | Registers window and Debug menu item. |
M.onEditorGui | M.onEditorGui() | Renders the viewport window with view buttons, controls, and camera image. |
Controls
| Control | Description |
|---|---|
| View buttons | left, right, front, back, top, bottom, 3d |
Ortho checkbox | Toggles orthographic projection |
render Main | Toggles main world rendering via setRenderWorldMain() |
attach checkbox | Attaches camera to player vehicle |
near clip / far clip | Slider controls for clip planes |
fov | Field of view slider (mouse wheel adjustable) |
| Mouse drag | Pans camera position |
Usage
Accessible via Window → Debug → Render Test in the editor.
-- Opens the render test window
editor.showWindow("Render test")See Also
- Editor AI Tests - Related reference
- Editor AI Visualization - Related reference
- Editor – Assembly Spline Tool - Related reference
- World Editor Guide - Guide
Renderer Components Editor Tool
Editor tool for adjusting post-processing effects: Depth of Field, HDR/Tone Mapping, Light Rays, Motion Blur, and Bloom.
Resource Checker Editor Tool
Comprehensive editor tool for auditing level resources: material verification, duplicate detection, unused asset scanning, and asset statistics with treemap visualization.