Bearbeiten

Freigeben über


OculusHand Class

Definition

Oculus Integration Asset package implementation of Oculus Quest articulated hands.

public ref class OculusHand : Microsoft::MixedReality::Toolkit::Input::BaseHand
[Microsoft.MixedReality.Toolkit.Input.MixedRealityController(Microsoft.MixedReality.Toolkit.Input.SupportedControllerType.ArticulatedHand, 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 OculusHand : Microsoft.MixedReality.Toolkit.Input.BaseHand
[Microsoft.MixedReality.Toolkit.Input.MixedRealityController(Microsoft.MixedReality.Toolkit.Input.SupportedControllerType.ArticulatedHand, 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.XRSDK)]
public class OculusHand : Microsoft.MixedReality.Toolkit.Input.BaseHand
[<Microsoft.MixedReality.Toolkit.Input.MixedRealityController(Microsoft.MixedReality.Toolkit.Input.SupportedControllerType.ArticulatedHand, 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 OculusHand = class
    inherit BaseHand
[<Microsoft.MixedReality.Toolkit.Input.MixedRealityController(Microsoft.MixedReality.Toolkit.Input.SupportedControllerType.ArticulatedHand, 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.XRSDK)>]
type OculusHand = class
    inherit BaseHand
Public Class OculusHand
Inherits BaseHand
Inheritance
Attributes

Constructors

OculusHand(TrackingState, Handedness, IMixedRealityInputSource, MixedRealityInteractionMapping[])

Default constructor used by reflection for profiles

Fields

jointPoses

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
DefaultInteractions

The default interactions for this controller.

(Inherited from BaseController)
DefaultLeftHandedInteractions
DefaultLeftHandedInteractions

The default left-handed interactions for this controller.

(Inherited from BaseHand)
DefaultRightHandedInteractions
DefaultRightHandedInteractions

The default right-handed interactions for this controller.

(Inherited from BaseHand)
Definition

Represents the archetypal definition of what this controller supports and can perform.

(Inherited from BaseController)
Enabled

Is the controller enabled?

(Inherited from BaseController)
HandPointerPose

Pose used by hand ray

HandRay (Inherited from BaseHand)
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 (Inherited from BaseHand)
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)
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)
GetPalmNormal() (Inherited from BaseHand)
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()
SetupDefaultInteractions(Handedness)
Obsolete.

Assign the default interactions based on controller handedness, if necessary.

(Inherited from BaseController)
TryAddControllerModelToSceneHierarchy(GameObject) (Inherited from BaseController)
TryGetJoint(TrackedHandJoint, MixedRealityPose)

Get the current pose of a hand joint.

TryRenderControllerModel(Type, InputSourceType)

Try to render a controller model for this controller from the visualization profile.

(Inherited from BaseController)
UpdateVelocity() (Inherited from BaseHand)

Applies to