Show / Hide Table of Contents

    Class InputSimulationService

    Inheritance
    Object
    BaseService
    BaseDataProvider
    BaseInputDeviceManager
    InputSimulationService
    Implements
    IInputSimulationService
    IMixedRealityEyeGazeDataProvider
    IMixedRealityInputDeviceManager
    IMixedRealityDataProvider
    IMixedRealityService
    IDisposable
    IMixedRealityCapabilityCheck
    Inherited Members
    BaseInputDeviceManager.InputSystem
    BaseInputDeviceManager.InputSystemProfile
    BaseInputDeviceManager.RequestPointers(SupportedControllerType, Handedness)
    BaseDataProvider.Registrar
    BaseDataProvider.Service
    BaseService.DefaultPriority
    BaseService.Name
    BaseService.Priority
    BaseService.ConfigurationProfile
    BaseService.Reset()
    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 class InputSimulationService : BaseInputDeviceManager, IInputSimulationService, IMixedRealityEyeGazeDataProvider, IMixedRealityInputDeviceManager, IMixedRealityDataProvider, IMixedRealityService, IDisposable, IMixedRealityCapabilityCheck

    Constructors

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

    Declaration
    public InputSimulationService(IMixedRealityServiceRegistrar registrar, IMixedRealityInputSystem inputSystem, string name, uint priority, BaseMixedRealityProfile profile)
    Parameters
    Type Name Description
    IMixedRealityServiceRegistrar registrar
    IMixedRealityInputSystem inputSystem
    String name
    UInt32 priority
    BaseMixedRealityProfile profile

    Properties

    HandDataLeft

    Pose data for the left hand.

    Declaration
    public SimulatedHandData HandDataLeft { get; }
    Property Value
    Type Description
    SimulatedHandData

    HandDataRight

    Pose data for the right hand.

    Declaration
    public SimulatedHandData HandDataRight { get; }
    Property Value
    Type Description
    SimulatedHandData

    InputSimulationProfile

    Typed representation of the ConfigurationProfile property.

    Declaration
    public MixedRealityInputSimulationProfile InputSimulationProfile { get; set; }
    Property Value
    Type Description
    MixedRealityInputSimulationProfile

    UserInputEnabled

    If true then keyboard and mouse input are used to simulate hands.

    Declaration
    public bool UserInputEnabled { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    CheckCapability(MixedRealityCapability)

    Checks to see if one or more registered data providers supports the requested capability on the current platform.

    Declaration
    public bool CheckCapability(MixedRealityCapability capability)
    Parameters
    Type Name Description
    MixedRealityCapability capability

    The capability to check.

    Returns
    Type Description
    Boolean

    True if the capability is supported, false otherwise.

    Destroy()

    Declaration
    public override void Destroy()
    Overrides
    BaseService.Destroy()

    Disable()

    Optional Disable function to pause the service.

    Declaration
    public override void Disable()
    Overrides
    BaseService.Disable()

    Enable()

    Optional Enable function to enable / re-enable the service.

    Declaration
    public override void Enable()
    Overrides
    BaseService.Enable()

    GetActiveControllers()

    Retrieve all controllers currently registered with this device at runtime (if direct access is required)

    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

    Initialize()

    The initialize function is used to setup the service once created. This method is called once all services have been registered in the Mixed Reality Toolkit.

    Declaration
    public override void Initialize()
    Overrides
    BaseService.Initialize()

    LateUpdate()

    Optional LateUpdate function to that is called after Update has been called on all services.

    Declaration
    public override void LateUpdate()
    Overrides
    BaseService.LateUpdate()

    Update()

    Optional Update function to perform per-frame updates of the service.

    Declaration
    public override void Update()
    Overrides
    BaseService.Update()

    Explicit Interface Implementations

    IMixedRealityEyeGazeDataProvider.SaccadeProvider

    Declaration
    IMixedRealityEyeSaccadeProvider IMixedRealityEyeGazeDataProvider.SaccadeProvider { get; }
    Returns
    Type Description
    IMixedRealityEyeSaccadeProvider

    IMixedRealityEyeGazeDataProvider.SmoothEyeTracking

    Declaration
    bool IMixedRealityEyeGazeDataProvider.SmoothEyeTracking { get; set; }
    Returns
    Type Description
    Boolean

    Implements

    IInputSimulationService
    IMixedRealityEyeGazeDataProvider
    IMixedRealityInputDeviceManager
    IMixedRealityDataProvider
    IMixedRealityService
    System.IDisposable
    IMixedRealityCapabilityCheck
    Back to top Generated by DocFX