Show / Hide Table of Contents

Class VRPNTracker

The tracker class of VRPN.
VRPN 定位器類別。

Inheritance
System.Object
Element
Device
Tracker
VRPNTracker
Inherited Members
Tracker.forward
Tracker.up
Tracker.right
Tracker.SetTrackerDirections(TrackerDirection, TrackerDirection, TrackerDirection)
Tracker.GetTrackerDirection(String)
Device.address
Device.channel
Device.index
Device.holdingDuration
Device.ButtonIndex(String, String)
Device.AxisIndex(String, String)
Device.KeyboardIndex(String)
Element.name
Element.Equals(String, Boolean)
Element.Contains(String, Boolean, Boolean)
Namespace: Votanic.vIO.VRPN
Assembly: Votanic.vIO.dll
Syntax
[Serializable]
public class VRPNTracker : Tracker

Constructors

VRPNTracker(String, String, Int32, TrackerDirection, TrackerDirection, TrackerDirection)

Declare a VRPN tracker.
宣告一個 VRPN 定位器。

Declaration
public VRPNTracker(string name, string address, int channel, TrackerDirection forward, TrackerDirection up, TrackerDirection right)
Parameters
Type Name Description
System.String name

Name of tracker
定位器名稱

System.String address

Address of tracker
定位器位置

System.Int32 channel

Channel of tracker
定位器頻道

TrackerDirection forward

Forward axis direction of tracker
定位器的前軸方向

TrackerDirection up

Up axis direction of tracker
定位器的上軸方向

TrackerDirection right

Right axis direction of tracker
定位器的右軸方向

Methods

Accessible()

Return true if the tracker is accessible.
當定位器可讀取時傳回 true。

Declaration
public override bool Accessible()
Returns
Type Description
System.Boolean
Overrides
Tracker.Accessible()

Position()

Get the position of tracker in system.
取得系統中的定位器位置。

Declaration
public override Vector3 Position()
Returns
Type Description
UnityEngine.Vector3
Overrides
Tracker.Position()

Rotation()

Get the rotation of tracker in system.
取得系統中的定位器旋轉。

Declaration
public override Quaternion Rotation()
Returns
Type Description
UnityEngine.Quaternion
Overrides
Tracker.Rotation()
In This Article
Back to top Generated by DocFX