Show / Hide Table of Contents

Class VRPNManager

Managing VRPN deivces.
管理 VRPN 裝置。

Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
VRPNManager
Namespace: Votanic.vIO.VRPN
Assembly: Votanic.vIO.dll
Syntax
[AddComponentMenu("")]
public class VRPNManager : MonoBehaviour

Fields

axes

List of VRPN axes.
VRPN 軸群列表。

Declaration
[Tooltip("List of VRPN axes.\nVRPN 軸群列表。")]
public List<VRPNAxes> axes
Field Value
Type Description
System.Collections.Generic.List<VRPNAxes>

buttons

List of VRPN buttons.
VRPN 按鈕群列表。

Declaration
[Tooltip("List of VRPN buttons.\nVRPN 按鈕群列表。")]
public List<VRPNButtons> buttons
Field Value
Type Description
System.Collections.Generic.List<VRPNButtons>

tracker

List of VRPN tracker.
VRPN 定位器列表。

Declaration
[Tooltip("List of VRPN tracker.\nVRPN 定位器列表。")]
public List<VRPNTracker> tracker
Field Value
Type Description
System.Collections.Generic.List<VRPNTracker>

Properties

Input

The handler of VRPN.
VRPN 處理器。

Declaration
public VRPNHandler Input { get; }
Property Value
Type Description
VRPNHandler

Methods

GetAxes(Int32)

Get a VRPN axes.
取得一個 VRPN 軸群。

GetAxes(0)

Declaration
public VRPNAxes GetAxes(int index)
Parameters
Type Name Description
System.Int32 index

Axes index
軸群編號

Returns
Type Description
VRPNAxes

GetAxes(String)

Get a VRPN axes.
取得一個 VRPN 軸群。

GetAxes("HandTracker")

Declaration
public VRPNAxes GetAxes(string name)
Parameters
Type Name Description
System.String name

Axes name
軸群名稱

Returns
Type Description
VRPNAxes

GetButtons(Int32)

Get a VRPN buttons.
取得一個 VRPN 按鈕群。

GetButtons(0)

Declaration
public VRPNButtons GetButtons(int index)
Parameters
Type Name Description
System.Int32 index

Buttons index
按鈕群編號

Returns
Type Description
VRPNButtons

GetButtons(String)

Get a VRPN axes.
取得一個 VRPN 軸群。

GetButtons("HandTracker")

Declaration
public VRPNButtons GetButtons(string name)
Parameters
Type Name Description
System.String name

Buttons name
按鈕群名稱

Returns
Type Description
VRPNButtons

GetTracker(Int32)

Get a VRPN tracker.
取得一個 VRPN 定位器。

GetTracker(0)

Declaration
public VRPNTracker GetTracker(int index)
Parameters
Type Name Description
System.Int32 index

Tracker index
定位器編號

Returns
Type Description
VRPNTracker

GetTracker(String)

Get a VRPN tracker.
取得一個 VRPN 定位器。

GetTracker("HeadTracker")

Declaration
public VRPNTracker GetTracker(string name)
Parameters
Type Name Description
System.String name

Tracker name
定位器名稱

Returns
Type Description
VRPNTracker

Start()

Declaration
[Obfuscation(Exclude = true)]
public void Start()
In This Article
Back to top Generated by DocFX