Ruler Module
This module allows users to measure elements in virtual space. It creates a basic ruler element with manipulators at both ends. When the user grabs any of these manipulators, the distance from one side to the other is automatically calculated.
Installation
This module is packaged as an Evergine add-on. To use it in your project, install it from the Project Settings > Add-Ons window.
Then, register the module programmatically within your XRV service instance.
var xrv = new XrvService()
.AddModule(new RulerModule());
Usage
- The button is added to the hand menu. Tapping this button will toggle the ruler's visibility.
- Dragging the line ends will update the distance measurement.
- Access Settings to change the current measurement units. You can choose between meters and feet.