This page has been translated automatically.
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Content Creation
Materials
Unigine Material Library
Tutorials
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

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
Build: ()