Engine Tools

Clarus Viewer Base

An Unreal Engine VR cursor template plugin providing desktop-style interaction, multi-state controller events, and OpenXR integration for immersive tools.

Clarus Viewer BaseEngine Tools

Resource overview

Translating Desktop Cursor Paradigms into Virtual Reality

Desktop operating systems rely heavily on a pointer interface to navigate layered interfaces, select contextual utilities, and manipulate files or viewport elements. Translating that familiarity into an immersive environment presents unique spatial challenges. Clarus Viewer Base approaches this by implementing a VR cursor template directly inside Unreal Engine, recreating the predictability of standard desktop navigation within three-dimensional virtual reality setups.

Rather than forcing users to rely on abstract gesture schemes or awkward physics collisions, the plugin establishes a dedicated spatial cursor. This cursor acts as the primary contact point between the user's hand hardware and the interactive actors positioned throughout the scene. By functioning similarly to a desktop operating system cursor, it provides an intuitive bridge for selecting items, triggering commands, and manipulating spatial components without requiring custom spatial interface rewrites.

VR Controller Input States and Event Handling

Input in virtual reality requires distinct separation between brief taps, sustained contact, and directional movements. Clarus Viewer Base handles this through built-in support for multiple discrete controller actions mapped directly to the individual buttons of a VR controller. Each physical button represented within the system evaluates and fires three distinct interaction states:

  • Press: Executes an immediate action upon downward button actuation, operating like a conventional mouse click to trigger selections or toggle target states.
  • Long Press: Registers when a button is held down over an extended duration, allowing systems to differentiate intentional holds from accidental taps for secondary actions or confirmations.
  • Press and Drag: Captures simultaneous engagement and movement, enabling real-time translations, continuous parameter adjustments, or the dragging of spatial objects through virtual space.

By breaking controller input into press, long press, and press-and-drag events, the template eliminates the need to construct bespoke input-checking logic for basic manipulation. Every represented button on the VR controller is tied directly into this tripartite event pattern, maintaining uniform interaction fidelity regardless of which hand or control surface the user engages.

Tool Selection Paths and Clarus Viewer Ecosystem States

Interacting with a 3D scene extends beyond simply clicking objects; users frequently need to switch operational modes, access utility palettes, and swap between distinct manipulation tasks. Clarus Viewer Base integrates directly with the broader family of Clarus Viewer plugins to accommodate these multi-tier operations.

The VR cursor can target other interactive actors and interface elements to choose from a suite of tools. This workflow relies on predefined paths and states established across the wider suite. When a user navigates to an interface element or an interactable actor, the cursor transitions through these operational states, determining whether the active pointer is selecting an item, engaging a tool mode, or passing control parameters downstream. Because these pathways are structured around predefined states, the system maintains predictable routing between the raw button events received from the controller and the broader application logic handling the user's toolset.

Plugin Dependencies and Technical Requirements

Clarus Viewer Base operates as part of a modular framework and relies on specific built-in and external Unreal Engine plugins to manage device tracking, core utilities, and collaborative network layers. To function correctly inside a project, the following dependencies must be enabled:

  • OpenXR: Utilizes Unreal Engine's built-in OpenXR plugin to maintain cross-platform standard compliance for virtual reality input mapping, spatial tracking, and runtime device communication.
  • Clarus Viewer Asset Support: Supplies supporting framework assets and configurations necessary for the base cursor to register and handle assets cleanly.
  • Clarus Viewer Engine Helpers: Implements shared lower-level helper logic and system functions required across the Clarus Viewer architecture.
  • AdvancedSessionsPlugin: Integrates session handling capabilities developed by Mordentral, enabling multiplayer-ready architectures, session management, and extended online interface integration.

By delegating device-level abstraction to OpenXR and session mechanics to the AdvancedSessionsPlugin, Clarus Viewer Base remains focused specifically on input event firing, spatial cursor behavior, and tool routing.

Blueprint Architecture and In-Node Documentation

Development workflows in Unreal Engine often slow down when template systems lack clear logic flow indicators. Clarus Viewer Base addresses this by providing native documentation directly within its Blueprint networks. Instead of isolating setup instructions into disconnected manuals, the logic is annotated with Blueprint comments across the node graphs.

These embedded comments explain the functional flow of input signals, tracking updates, and state changes directly where the logic resides. Developers customizing button mapping, adding unique behaviors to the press-and-drag triggers, or adjusting the interaction ranges of the VR cursor can trace the data pathways visually within the engine editor. This architecture simplifies the process of integrating the cursor template into pre-existing VR player pawns or broader multi-tool immersive applications.

Explore Similar Assets

Free Download

Download this resource

Log in or create a free account to start your download.

Resources are manually reviewed before listing to improve quality and reduce obvious risks.

Resource archiveClarus Viewer Base.7z

Related resources