VR Development Framework
v 1.0.0
Main Page
Related Pages
Namespaces
Classes
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
Properties
Events
Pages
AVR
Core
AVR_Controller
_inputManager
Awake
GetHapticCapabilities
HapticPulse
inputManager
leftHandController
rightHandController
HapticCapabilities AVR.Core.AVR_Controller.GetHapticCapabilities
(
)
inline
Returns the haptic capabilites of this controller.
Definition at line
45
of file
AVR_Controller.cs
.
45
{
46
if
(
inputDevice
.TryGetHapticCapabilities(out var capabilities)) {
47
return
capabilities;
48
}
49
else
{
50
AVR_DevConsole.cwarn(
"Could not retrieve haptic capavilites from controller."
,
this
);
51
return
default
(HapticCapabilities);
52
}
53
}
AVR.Core.AVR_GenericXRDevice.inputDevice
InputDevice inputDevice
XR.Inputdevice that this controller represents.
Definition:
AVR_GenericXRDevice.cs:37