Class MockAdditiveFeature.MockController
A mock interaction controller device layout for the mock additive interaction feature.
Inheritance
MockAdditiveFeature.MockController
Inherited Members
InputDevice.all
Namespace: UnityEngine.XR.OpenXR.Tests
Assembly: Unity.XR.OpenXR.Tests.dll
Syntax
[Preserve]
[InputControlLayout(displayName = "Mock Additive Controller binding (OpenXR)", commonUsages = new string[] { "LeftHand", "RightHand" })]
public class MockAdditiveFeature.MockController : XRController
Properties
auxClick
Aux click action bound to input/aux_ext/click
Declaration
[Preserve]
[InputControl]
public ButtonControl auxClick { get; }
Property Value
| Type | Description |
|---|---|
| ButtonControl |
thumbPoseUp
Thumb pose action bound to input/thumb_ext/pose
Declaration
[Preserve]
[InputControl]
public PoseControl thumbPoseUp { get; }
Property Value
| Type | Description |
|---|---|
| PoseControl |
Methods
FinishSetup()
Internal call used to assign controls to the the correct element.
Declaration
protected override void FinishSetup()