Class GenericOpenVRController
Inheritance
GenericOpenVRController
Assembly: cs.temp.dll.dll
public class GenericOpenVRController : GenericJoystickController
Constructors
Declaration
public GenericOpenVRController(TrackingState trackingState, Handedness controllerHandedness, IMixedRealityInputSource inputSource = null, MixedRealityInteractionMapping[] interactions = null)
Parameters
Type |
Name |
Description |
TrackingState |
trackingState |
|
Handedness |
controllerHandedness |
|
IMixedRealityInputSource |
inputSource |
|
MixedRealityInteractionMapping[] |
interactions |
|
Properties
Declaration
public override MixedRealityInteractionMapping[] DefaultLeftHandedInteractions { get; }
Property Value
Type |
Description |
MixedRealityInteractionMapping[] |
|
Declaration
public override MixedRealityInteractionMapping[] DefaultRightHandedInteractions { get; }
Property Value
Type |
Description |
MixedRealityInteractionMapping[] |
|
The current source state reading for this OpenVR Controller.
Declaration
public XRNodeState LastXrNodeStateReading { get; protected set; }
Property Value
Type |
Description |
XRNodeState |
|
Methods
Declaration
public override void SetupDefaultInteractions(Handedness controllerHandedness)
Parameters
Type |
Name |
Description |
Handedness |
controllerHandedness |
|
Declaration
public override void UpdateController()
Update the "Controller" input from the device
Declaration
protected void UpdateControllerData(XRNodeState state)
Parameters
Type |
Name |
Description |
XRNodeState |
state |
|