VrpnClient Class
The scope of applications for UnigineScript is limited to implementing materials-related logic (material expressions, scriptable materials, brush materials). Do not use UnigineScript as a language for application logic, please consider C#/C++ instead, as these APIs are the preferred ones. Availability of new Engine features in UnigineScript (beyond its scope of applications) is not guaranteed, as the current level of support assumes only fixing critical issues.
The functionality described in this article is not available in the Community SDK edition.
You should upgrade to- Sim
SDK edition to use it.
You should upgrade to
A class for the VRPN Plugin that allows managing different input devices.
VrpnClient Class
Members
VrpnAnalogDevice createAnalogDevice ( string name ) #
Creates an object that allows receiving data about input device sticks (for example, game-pad sticks).Arguments
- string name - Path to the device in the format device_name@server_address.
Return value
Newly created VrpnAnalogDevice.void deleteAnalogDevice ( VrpnAnalogDevice * device ) #
Deletes the VrpnAnalogDevice object.Arguments
- VrpnAnalogDevice * device - VrpnAnalogDevice to be deleted.
VrpnButtonDevice createButtonDevice ( string name ) #
Creates an object that allows receiving data about states of input device buttons.Arguments
- string name - Path to the device in the format device_name@server_address.
Return value
Newly created VrpnButtonDevice.void deleteButtonDevice ( VrpnButtonDevice * device ) #
Deletes the VrpnButtonDevice object.Arguments
- VrpnButtonDevice * device - VrpnButtonDevice to be deleted.
VrpnTrackerDevice createTrackerDevice ( string name ) #
Creates an object that allows receiving data about position, orientation, velocity and acceleration of tracked objects from 3D tracking sensors.Arguments
- string name - Path to the device in the format device_name@server_address.
Return value
Newly created VrpnTrackerDevice.void deleteTrackerDevice ( VrpnTrackerDevice * device ) #
Deletes the VrpnTrackerDevice object.Arguments
- VrpnTrackerDevice * device - VrpnTrackerDevice to be deleted.
Last update:
2021-12-13
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)