You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 28, 2021. It is now read-only.
You can build the dll from scratch or use the download in the releases.
7
+
The dll must be placed in the Assets/Plugins folder to use. Place VRPN.cs (found in the scriptForUnity folder in the source) in whatever assets folder you wish. This will allow you to use the static VRPN class.
8
+
9
+
-> public static double vrpnAnalog(string address, int channel)
10
+
This gets an analog value from the vrpn address and the channel. When first called with a new address, the vrpn connection will be created. An address's values will be updated at most once per frame.
11
+
12
+
-> public static bool vrpnButton(string address, int channel)
13
+
This gets a boolean value from the vrpn address and the channel. When first called with a new address, the vrpn connection will be created. An address's values will be updated at most once per frame.
14
+
15
+
-> public static Vector3 vrpnTrackerPos(string address, int channel)
16
+
This gets position component of a tracker at the vrpn address and the channel. When first called with a new address, the vrpn connection will be created. An address's values will be updated at most once per frame.
17
+
18
+
-> public static Quaternion vrpnTrackerQuat(string address, int channel)
19
+
This gets rotation component of a tracker at the vrpn address and the channel. When first called with a new address, the vrpn connection will be created. An address's values will be updated at most once per frame.
0 commit comments