Unigine.Plugins.VrpnClient Class
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[] OUT_device ) #
Deletes the VrpnAnalogDevice object.Arguments
- VrpnAnalogDevice[]
OUT_device - VrpnAnalogDevice to be deleted.This output buffer is to be filled by the Engine as a result of executing the method.
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[] OUT_device ) #
Deletes the VrpnButtonDevice object.Arguments
- VrpnButtonDevice[]
OUT_device - VrpnButtonDevice to be deleted.This output buffer is to be filled by the Engine as a result of executing the method.
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[] OUT_device ) #
Deletes the VrpnTrackerDevice object.Arguments
- VrpnTrackerDevice[]
OUT_device - VrpnTrackerDevice to be deleted.This output buffer is to be filled by the Engine as a result of executing the method.
Last update:
2024-12-13
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)