FirstModulAR 0.1.0
Loading...
Searching...
No Matches
FMAR.XRProviders.UnityXR.UnityXrDeviceManager.Device Class Reference

A device in the Unity XR provider. Can represent a headset, controller, hand, or some other device. More...

Public Member Functions

 Device (UnityXrDeviceManager parent, InputDevice inputDevice)
 Creates a new device with the given input device.
 
void Update ()
 Updates the device's tracking state.
 
void LateUpdate ()
 Runs every frame after all other updates have been called, and handles.
 

Public Attributes

string name
 
InputDevice inputDevice
 
Controller controller
 

Detailed Description

A device in the Unity XR provider. Can represent a headset, controller, hand, or some other device.

Constructor & Destructor Documentation

◆ Device()

FMAR.XRProviders.UnityXR.UnityXrDeviceManager.Device.Device ( UnityXrDeviceManager parent,
InputDevice inputDevice )
inline

Creates a new device with the given input device.

Parameters
parentThe parent device manager.
inputDeviceThe input device to create the device from.

Member Function Documentation

◆ LateUpdate()

void FMAR.XRProviders.UnityXR.UnityXrDeviceManager.Device.LateUpdate ( )
inline

Runs every frame after all other updates have been called, and handles.

◆ Update()

void FMAR.XRProviders.UnityXR.UnityXrDeviceManager.Device.Update ( )
inline

Updates the device's tracking state.

Member Data Documentation

◆ controller

Controller FMAR.XRProviders.UnityXR.UnityXrDeviceManager.Device.controller

◆ inputDevice

InputDevice FMAR.XRProviders.UnityXR.UnityXrDeviceManager.Device.inputDevice

◆ name

string FMAR.XRProviders.UnityXR.UnityXrDeviceManager.Device.name

The documentation for this class was generated from the following file: