Skip to content
This repository was archived by the owner on Sep 28, 2021. It is now read-only.

Commit 6e9c4b8

Browse files
committed
Create README.md
1 parent 2d8316e commit 6e9c4b8

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
unityVRPN
2+
=========
3+
4+
Simple VRPN wrapper for unity
5+
6+
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

Comments
 (0)