Unity

Samples

Starter Assets

This sample provides pre-configured assets to streamline VITURE XR project setup. We advise importing this sample to accelerate your development workflow. Make sure to install all required dependencies and samples for everything to work properly.

Assets included:

Viture Input Actions

Input Action Asset containing VITURE-specific hand tracking actions and gestures, ready to use with XR Interaction Toolkit (XRI).

viture-input-actions

XR Origin (Viture)

Pre-configured XR Origin prefab with main camera and hand tracking components. Includes Near-Far Interactor and Poke Interactor already wired up with VITURE input actions.

xr-origin-prefab

Viture Hand Menu

System menu prefab that activates when you face your palm toward yourself and perform a long pinch gesture. Provides essential functions:

Recenter - Resets XR coordinate origin
Home - Exits to launcher

Add this to let users invoke system-level controls in your application.

Recenter Indicator

Circular progress bar prefab that visualizes coordinate reset countdown. Automatically integrated with the Viture Hand Menu—no manual setup required.

Two Hand Transform Cube

Demonstration prefab showcasing the TwoHandTransform script for intuitive two-handed object manipulation. Pinch with both hands simultaneously to translate, rotate, and scale the target object using natural hand gestures.

Hand State Demo

hand-state-demo

Beyond standard hand tracking, the VITURE SDK provides additional data including built-in gestures and palm facing states. This sample demonstrates how to access this extra data through Input Actions using both direct reading and callback methods.

The demo features a real-time UI displaying both hands' tracking states, gestures, and palm orientations. Reference the included script to see how to retrieve hand state data in your own code.