ViveKnucklesController Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class ViveKnucklesController : Microsoft::MixedReality::Toolkit::OpenVR::Input::GenericOpenVRController
[Microsoft.MixedReality.Toolkit.Input.MixedRealityController(Microsoft.MixedReality.Toolkit.Input.SupportedControllerType.ViveKnuckles, new Microsoft.MixedReality.Toolkit.Utilities.Handedness[] { Microsoft.MixedReality.Toolkit.Utilities.Handedness.Left, Microsoft.MixedReality.Toolkit.Utilities.Handedness.Right }, "", (Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerConfigurationFlags) 0)]
public class ViveKnucklesController : Microsoft.MixedReality.Toolkit.OpenVR.Input.GenericOpenVRController
[Microsoft.MixedReality.Toolkit.Input.MixedRealityController(Microsoft.MixedReality.Toolkit.Input.SupportedControllerType.ViveKnuckles, new Microsoft.MixedReality.Toolkit.Utilities.Handedness[] { Microsoft.MixedReality.Toolkit.Utilities.Handedness.Left, Microsoft.MixedReality.Toolkit.Utilities.Handedness.Right }, "", (Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerConfigurationFlags) 0, Microsoft.MixedReality.Toolkit.Utilities.SupportedUnityXRPipelines.LegacyXR)]
public class ViveKnucklesController : Microsoft.MixedReality.Toolkit.OpenVR.Input.GenericOpenVRController
[<Microsoft.MixedReality.Toolkit.Input.MixedRealityController(Microsoft.MixedReality.Toolkit.Input.SupportedControllerType.ViveKnuckles, new Microsoft.MixedReality.Toolkit.Utilities.Handedness[] { Microsoft.MixedReality.Toolkit.Utilities.Handedness.Left, Microsoft.MixedReality.Toolkit.Utilities.Handedness.Right }, "", (Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerConfigurationFlags) 0)>]
type ViveKnucklesController = class
inherit GenericOpenVRController
[<Microsoft.MixedReality.Toolkit.Input.MixedRealityController(Microsoft.MixedReality.Toolkit.Input.SupportedControllerType.ViveKnuckles, new Microsoft.MixedReality.Toolkit.Utilities.Handedness[] { Microsoft.MixedReality.Toolkit.Utilities.Handedness.Left, Microsoft.MixedReality.Toolkit.Utilities.Handedness.Right }, "", (Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerConfigurationFlags) 0, Microsoft.MixedReality.Toolkit.Utilities.SupportedUnityXRPipelines.LegacyXR)>]
type ViveKnucklesController = class
inherit GenericOpenVRController
Public Class ViveKnucklesController
Inherits GenericOpenVRController
- Inheritance
- Attributes
Constructors
ViveKnucklesController(TrackingState, Handedness, IMixedRealityInputSource, MixedRealityInteractionMapping[]) |
Constructor. |
Fields
CurrentControllerPose |
The current pose of this controller. (Inherited from GenericJoystickController) |
CurrentControllerPosition |
The current position of this controller. (Inherited from GenericJoystickController) |
CurrentControllerRotation |
The current rotation of this controller. (Inherited from GenericJoystickController) |
LastControllerPose |
The previous pose of this controller. (Inherited from GenericJoystickController) |
Properties
AngularVelocity | (Inherited from BaseController) |
ControllerHandedness |
The designated hand that the Input Source is managing, as defined by the SDK / Unity. (Inherited from BaseController) |
DefaultInteractions |
The default interactions for this controller. (Inherited from GenericJoystickController) |
DefaultLeftHandedInteractions |
The default left-handed interactions for this controller. |
DefaultLeftHandedInteractions | (Inherited from GenericOpenVRController) |
DefaultRightHandedInteractions |
The default right-handed interactions for this controller. |
DefaultRightHandedInteractions | (Inherited from GenericOpenVRController) |
Definition |
Represents the archetypal definition of what this controller supports and can perform. (Inherited from BaseController) |
Enabled |
Is the controller enabled? (Inherited from BaseController) |
InputSource |
The registered Input Source for this controller (Inherited from BaseController) |
Interactions |
Mapping definition for this controller, linking the Physical inputs to logical Input System Actions (Inherited from BaseController) |
IsInPointingPose |
Some controllers such as articulated should only be able to invoke pointing/distant interactions in certain poses. (Inherited from BaseController) |
IsPositionApproximate |
Indicates the accuracy of the position data being reported. (Inherited from BaseController) |
IsPositionAvailable |
Indicates that this controller is currently providing position data. (Inherited from BaseController) |
IsRotationAvailable |
Indicates that this controller is currently providing rotation data. (Inherited from BaseController) |
LastXrNodeStateReading |
The current source state reading for this OpenVR Controller. (Inherited from GenericOpenVRController) |
LeftHandedLegacyInputSupport | System.Object.LeftHandedLegacyInputSupport |
LeftHandedLegacyInputSupport | (Inherited from GenericOpenVRController) |
LegacyInputSupport | (Inherited from GenericJoystickController) |
PointerOffsetAngle |
The pointer's offset angle. (Inherited from GenericJoystickController) |
RightHandedLegacyInputSupport | System.Object.RightHandedLegacyInputSupport |
RightHandedLegacyInputSupport | (Inherited from GenericOpenVRController) |
TrackingState |
Outputs the current state of the Input Source, whether it is tracked or not. As defined by the SDK / Unity. (Inherited from BaseController) |
Velocity | (Inherited from BaseController) |
Visualizer | (Inherited from BaseController) |
Methods
AssignControllerMappings(MixedRealityInteractionMapping[]) |
Load the Interaction mappings for this controller from the configured Controller Mapping profile (Inherited from BaseController) |
SetupConfiguration(Type, InputSourceType) |
Obsolete.
Sets up the configuration based on the Mixed Reality Controller Mapping Profile. (Inherited from BaseController) |
SetupConfiguration(Type) |
Obsolete.
Sets up the configuration based on the Mixed Reality Controller Mapping Profile. (Inherited from BaseController) |
SetupDefaultInteractions() |
Assign the default interactions based on this controller's handedness, if necessary. (Inherited from BaseController) |
SetupDefaultInteractions(Handedness) |
Obsolete.
Assign the default interactions based on controller handedness, if necessary. (Inherited from BaseController) |
TryAddControllerModelToSceneHierarchy(GameObject) | (Inherited from BaseController) |
TryRenderControllerModel(Type, InputSourceType) |
Try to render a controller model for this controller from the visualization profile. (Inherited from GenericOpenVRController) |
UpdateButtonData(MixedRealityInteractionMapping) |
Update an Interaction Bool data type from a Bool input (Inherited from GenericJoystickController) |
UpdateController() |
Update the controller data from Unity's Input Manager (Inherited from GenericOpenVRController) |
UpdateControllerData(XRNodeState) |
Update the "Controller" input from the device (Inherited from GenericOpenVRController) |
UpdateDualAxisData(MixedRealityInteractionMapping) |
Update the Touchpad / Thumbstick input from the device (in OpenVR, touchpad and thumbstick are the same input control) (Inherited from GenericJoystickController) |
UpdatePoseData(MixedRealityInteractionMapping) |
Update Spatial Pointer Data. (Inherited from GenericJoystickController) |
UpdateSingleAxisData(MixedRealityInteractionMapping) |
Update an Interaction Float data type from a SingleAxis (float) input (Inherited from GenericJoystickController) |