mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class BaseInputSimulationService

    Base class for services that create simulated input devices.

    Inheritance
    Object
    BaseService
    BaseDataProvider<IMixedRealityInputSystem>
    BaseInputDeviceManager
    BaseInputSimulationService
    InputPlaybackService
    InputSimulationService
    Implements
    IMixedRealityInputDeviceManager
    IMixedRealityDataProvider
    IMixedRealityService
    IDisposable
    Inherited Members
    BaseInputDeviceManager.InputSystemProfile
    BaseInputDeviceManager.RequestPointers(SupportedControllerType, Handedness)
    BaseInputDeviceManager.EnablePointerCache
    BaseInputDeviceManager.Initialize()
    BaseInputDeviceManager.Destroy()
    BaseInputDeviceManager.RecyclePointers(IMixedRealityInputSource)
    BaseDataProvider<IMixedRealityInputSystem>.Registrar
    BaseDataProvider<IMixedRealityInputSystem>.Service
    BaseService.DefaultPriority
    BaseService.Name
    BaseService.Priority
    BaseService.ConfigurationProfile
    BaseService.Reset()
    BaseService.Enable()
    BaseService.Update()
    BaseService.LateUpdate()
    BaseService.Disable()
    BaseService.disposed
    BaseService.Dispose()
    BaseService.Dispose(Boolean)
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class BaseInputSimulationService : BaseInputDeviceManager, IMixedRealityInputDeviceManager, IMixedRealityDataProvider, IMixedRealityService, IDisposable

    Constructors

    BaseInputSimulationService(IMixedRealityServiceRegistrar, IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)

    Constructor.

    Declaration
    [Obsolete("This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.")]
    protected BaseInputSimulationService(IMixedRealityServiceRegistrar registrar, IMixedRealityInputSystem inputSystem, string name, uint priority, BaseMixedRealityProfile profile)
    Parameters
    Type Name Description
    IMixedRealityServiceRegistrar registrar

    The IMixedRealityServiceRegistrar instance that loaded the data provider.

    IMixedRealityInputSystem inputSystem

    The IMixedRealityInputSystem instance that receives data from this provider.

    String name

    Friendly name of the service.

    UInt32 priority

    Service priority. Used to determine order of instantiation.

    BaseMixedRealityProfile profile

    The service's configuration profile.

    BaseInputSimulationService(IMixedRealityServiceRegistrar, IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)

    Constructor.

    Declaration
    [Obsolete("This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.")]
    protected BaseInputSimulationService(IMixedRealityServiceRegistrar registrar, IMixedRealityInputSystem inputSystem, string name, uint priority, BaseMixedRealityProfile profile)
    Parameters
    Type Name Description
    IMixedRealityServiceRegistrar registrar

    The IMixedRealityServiceRegistrar instance that loaded the data provider.

    IMixedRealityInputSystem inputSystem

    The IMixedRealityInputSystem instance that receives data from this provider.

    String name

    Friendly name of the service.

    UInt32 priority

    Service priority. Used to determine order of instantiation.

    BaseMixedRealityProfile profile

    The service's configuration profile.

    BaseInputSimulationService(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)

    Constructor.

    Declaration
    protected BaseInputSimulationService(IMixedRealityInputSystem inputSystem, string name, uint priority, BaseMixedRealityProfile profile)
    Parameters
    Type Name Description
    IMixedRealityInputSystem inputSystem

    The IMixedRealityInputSystem instance that receives data from this provider.

    String name

    Friendly name of the service.

    UInt32 priority

    Service priority. Used to determine order of instantiation.

    BaseMixedRealityProfile profile

    The service's configuration profile.

    BaseInputSimulationService(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)

    Constructor.

    Declaration
    protected BaseInputSimulationService(IMixedRealityInputSystem inputSystem, string name, uint priority, BaseMixedRealityProfile profile)
    Parameters
    Type Name Description
    IMixedRealityInputSystem inputSystem

    The IMixedRealityInputSystem instance that receives data from this provider.

    String name

    Friendly name of the service.

    UInt32 priority

    Service priority. Used to determine order of instantiation.

    BaseMixedRealityProfile profile

    The service's configuration profile.

    Methods

    GetActiveControllers()

    Declaration
    public override IMixedRealityController[] GetActiveControllers()
    Returns
    Type Description
    IMixedRealityController[]
    Overrides
    BaseInputDeviceManager.GetActiveControllers()

    GetActiveControllers()

    Declaration
    public override IMixedRealityController[] GetActiveControllers()
    Returns
    Type Description
    IMixedRealityController[]
    Overrides
    BaseInputDeviceManager.GetActiveControllers()

    GetHandDevice(Handedness)

    Declaration
    public SimulatedHand GetHandDevice(Handedness handedness)
    Parameters
    Type Name Description
    Handedness handedness
    Returns
    Type Description
    SimulatedHand

    GetHandDevice(Handedness)

    Declaration
    public SimulatedHand GetHandDevice(Handedness handedness)
    Parameters
    Type Name Description
    Handedness handedness
    Returns
    Type Description
    SimulatedHand

    GetOrAddHandDevice(Handedness, HandSimulationMode)

    Declaration
    protected SimulatedHand GetOrAddHandDevice(Handedness handedness, HandSimulationMode simulationMode)
    Parameters
    Type Name Description
    Handedness handedness
    HandSimulationMode simulationMode
    Returns
    Type Description
    SimulatedHand

    GetOrAddHandDevice(Handedness, HandSimulationMode)

    Declaration
    protected SimulatedHand GetOrAddHandDevice(Handedness handedness, HandSimulationMode simulationMode)
    Parameters
    Type Name Description
    Handedness handedness
    HandSimulationMode simulationMode
    Returns
    Type Description
    SimulatedHand

    RemoveAllHandDevices()

    Declaration
    protected void RemoveAllHandDevices()

    RemoveAllHandDevices()

    Declaration
    protected void RemoveAllHandDevices()

    RemoveHandDevice(Handedness)

    Declaration
    protected void RemoveHandDevice(Handedness handedness)
    Parameters
    Type Name Description
    Handedness handedness

    RemoveHandDevice(Handedness)

    Declaration
    protected void RemoveHandDevice(Handedness handedness)
    Parameters
    Type Name Description
    Handedness handedness

    UpdateHandDevice(HandSimulationMode, Handedness, SimulatedHandData)

    Declaration
    protected void UpdateHandDevice(HandSimulationMode simulationMode, Handedness handedness, SimulatedHandData handData)
    Parameters
    Type Name Description
    HandSimulationMode simulationMode
    Handedness handedness
    SimulatedHandData handData

    UpdateHandDevice(HandSimulationMode, Handedness, SimulatedHandData)

    Declaration
    protected void UpdateHandDevice(HandSimulationMode simulationMode, Handedness handedness, SimulatedHandData handData)
    Parameters
    Type Name Description
    HandSimulationMode simulationMode
    Handedness handedness
    SimulatedHandData handData

    Implements

    IMixedRealityInputDeviceManager
    IMixedRealityDataProvider
    IMixedRealityService
    IDisposable
    In This Article
    • Constructors
      • BaseInputSimulationService(IMixedRealityServiceRegistrar, IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
      • BaseInputSimulationService(IMixedRealityServiceRegistrar, IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
      • BaseInputSimulationService(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
      • BaseInputSimulationService(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
    • Methods
      • GetActiveControllers()
      • GetActiveControllers()
      • GetHandDevice(Handedness)
      • GetHandDevice(Handedness)
      • GetOrAddHandDevice(Handedness, HandSimulationMode)
      • GetOrAddHandDevice(Handedness, HandSimulationMode)
      • RemoveAllHandDevices()
      • RemoveAllHandDevices()
      • RemoveHandDevice(Handedness)
      • RemoveHandDevice(Handedness)
      • UpdateHandDevice(HandSimulationMode, Handedness, SimulatedHandData)
      • UpdateHandDevice(HandSimulationMode, Handedness, SimulatedHandData)
    • Implements
    Back to top Generated by DocFX