Triplex (Visual Editor)
Triplex is a visual editor for React Three Fiber, available as a VS Code extension. It allows you to visually place and adjust components in a 3D scene without directly editing code.

Installation
Install from the VS Code Marketplace.
Using Triplex with XRift Projects
Both XRift worlds and items are built with React Three Fiber, so you can use Triplex directly.
- Open an XRift project (world or item) in VS Code
- Open a
.tsxfile containing an exported component - Click the "Open in Triplex" CodeLens that appears above the component
- Adjust position, rotation, and scale of components in the visual editor
- Changes are automatically reflected in the source code
Triplex eliminates the need to manually tweak position and rotation values, allowing you to build scenes intuitively.