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 |
|
Declaration
public GenericOpenVRController(TrackingState trackingState, Handedness controllerHandedness, IMixedRealityInputSourceDefinition definition, IMixedRealityInputSource inputSource = null, MixedRealityInteractionMapping[] interactions = null)
Parameters
Type |
Name |
Description |
TrackingState |
trackingState |
|
Handedness |
controllerHandedness |
|
IMixedRealityInputSourceDefinition |
definition |
|
IMixedRealityInputSource |
inputSource |
|
MixedRealityInteractionMapping[] |
interactions |
|
Properties
The current source state reading for this OpenVR Controller.
Declaration
public XRNodeState LastXrNodeStateReading { get; protected set; }
Property Value
Type |
Description |
XRNodeState |
|
Declaration
protected override MixedRealityInteractionMappingLegacyInput[] LeftHandedLegacyInputSupport { get; }
Property Value
Type |
Description |
MixedRealityInteractionMappingLegacyInput[] |
|
Declaration
protected override MixedRealityInteractionMappingLegacyInput[] RightHandedLegacyInputSupport { get; }
Property Value
Type |
Description |
MixedRealityInteractionMappingLegacyInput[] |
|
Methods
Declaration
protected override bool TryRenderControllerModel(Type controllerType, InputSourceType inputSourceType)
Parameters
Type |
Name |
Description |
Type |
controllerType |
|
InputSourceType |
inputSourceType |
|
Returns
Declaration
public override void UpdateController()
Update the "Controller" input from the device
Declaration
protected void UpdateControllerData(XRNodeState state)
Parameters
Type |
Name |
Description |
XRNodeState |
state |
|