Programming
Fundamentials
Setting Up Development Environment
UnigineScript
High-Level Systems
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Core Library
Containers
Engine Classes
Node-Related Classes
Rendering-Related Classes
Physics-Related Classes
Bounds-Related Classes
GUI-Related Classes
Controls-Related Classes
Pathfinding-Related Classes
Utility Classes

Sixense Plugin

A Sixense plugin is used for Razer Hydra 3D controller integration.

To use the Razer Hydra 3D controller with Unigine, perform the following:

  1. Plug in the Razer Hydra
  2. Get and configure the Sixense SDK
  3. Implement the logic of the application and launch the Sixense plugin on the application start-up

See Also

To run the plugin sample from the Unigine SDK Browser, press the Sixense plugin button on the Plugin Samples tab.

Launching Sixense

To use the plugin, specify the extern_plugin command line option on the start-up:

Shell commands
-extern_plugin "Sixense"

Also you can create a new project with the Razer Hydra controller support by checking the Plugin for Razer Hydra integration option on the New Project tab of the Unigine SDK Browser.

Plugin Compilation

Sixense SDK sources are required for the Sixense plugin compilation:

  1. Get the Sixense SDK
  2. Set path to the <Sixense SDK> folder in the SIXENSEROOT environment variable:
    Shell commands
    SIXENSEROOT=<Sixense SDK>
  3. Compile the plugin with the build script:
    Shell commands
    C:\UnigineSDK\utils>build.py --plugin Sixense
    You can also compile the plugin manually with Scons:
    • Go to the <UnigineSDK>\source\plugins\Hardware\Sixense via the command line
    • Type scons and press ENTER:
      Shell commands
      C:\UnigineSDK\source\plugins\Hardware\Sixense>scons
Last update: 2017-07-03