mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class XboxController

    Xbox Controller using Unity Input System

    Inheritance
    Object
    BaseController
    GenericJoystickController
    XboxController
    Implements
    IMixedRealityController
    Inherited Members
    GenericJoystickController.PointerOffsetAngle
    GenericJoystickController.CurrentControllerPosition
    GenericJoystickController.CurrentControllerRotation
    GenericJoystickController.LastControllerPose
    GenericJoystickController.CurrentControllerPose
    GenericJoystickController.UpdateController()
    GenericJoystickController.UpdateButtonData(MixedRealityInteractionMapping)
    GenericJoystickController.UpdateSingleAxisData(MixedRealityInteractionMapping)
    GenericJoystickController.UpdateDualAxisData(MixedRealityInteractionMapping)
    GenericJoystickController.UpdatePoseData(MixedRealityInteractionMapping)
    BaseController.DefaultLeftHandedInteractions
    BaseController.DefaultRightHandedInteractions
    BaseController.Enabled
    BaseController.TrackingState
    BaseController.ControllerHandedness
    BaseController.InputSource
    BaseController.Visualizer
    BaseController.IsPositionAvailable
    BaseController.IsPositionApproximate
    BaseController.IsRotationAvailable
    BaseController.Interactions
    BaseController.AngularVelocity
    BaseController.Velocity
    BaseController.IsInPointingPose
    BaseController.SetupConfiguration(Type, InputSourceType)
    BaseController.SetupConfiguration(Type)
    BaseController.AssignControllerMappings(MixedRealityInteractionMapping[])
    BaseController.TryRenderControllerModel(Type, InputSourceType)
    BaseController.TryAddControllerModelToSceneHierarchy(GameObject)
    BaseController.GetControllerVisualizationProfile()
    BaseController.IsControllerMappingEnabled()
    BaseController.GetControllerMappings()
    BaseController.SetupDefaultInteractions()
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Input.UnityInput
    Assembly: cs.temp.dll.dll
    Syntax
    public class XboxController : GenericJoystickController, IMixedRealityController

    Constructors

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

    Constructor.

    Declaration
    public XboxController(TrackingState trackingState, Handedness controllerHandedness, IMixedRealityInputSource inputSource = null, MixedRealityInteractionMapping[] interactions = null)
    Parameters
    Type Name Description
    TrackingState trackingState
    Handedness controllerHandedness
    IMixedRealityInputSource inputSource
    MixedRealityInteractionMapping[] interactions

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

    Constructor.

    Declaration
    public XboxController(TrackingState trackingState, Handedness controllerHandedness, IMixedRealityInputSource inputSource = null, MixedRealityInteractionMapping[] interactions = null)
    Parameters
    Type Name Description
    TrackingState trackingState
    Handedness controllerHandedness
    IMixedRealityInputSource inputSource
    MixedRealityInteractionMapping[] interactions

    Properties

    DefaultInteractions

    Default interactions for Xbox Controller using Unity Input System.

    Declaration
    public override MixedRealityInteractionMapping[] DefaultInteractions { get; }
    Property Value
    Type Description
    MixedRealityInteractionMapping[]
    Overrides
    BaseController.DefaultInteractions

    DefaultInteractions

    Default interactions for Xbox Controller using Unity Input System.

    Declaration
    public override MixedRealityInteractionMapping[] DefaultInteractions { get; }
    Property Value
    Type Description
    MixedRealityInteractionMapping[]
    Overrides
    BaseController.DefaultInteractions

    Methods

    SetupDefaultInteractions(Handedness)

    Declaration
    public override void SetupDefaultInteractions(Handedness controllerHandedness)
    Parameters
    Type Name Description
    Handedness controllerHandedness
    Overrides
    GenericJoystickController.SetupDefaultInteractions(Handedness)

    Implements

    IMixedRealityController
    In This Article
    • Constructors
      • XboxController(TrackingState, Handedness, IMixedRealityInputSource, MixedRealityInteractionMapping[])
      • XboxController(TrackingState, Handedness, IMixedRealityInputSource, MixedRealityInteractionMapping[])
    • Properties
      • DefaultInteractions
      • DefaultInteractions
    • Methods
      • SetupDefaultInteractions(Handedness)
    • Implements
    Back to top Generated by DocFX