日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    Class MouseDeviceManager

    Inheritance
    Object
    BaseService
    BaseDataProvider<IMixedRealityInputSystem>
    BaseInputDeviceManager
    MouseDeviceManager
    Implements
    IMixedRealityMouseDeviceManager
    IMixedRealityInputDeviceManager
    IMixedRealityDataProvider
    IMixedRealityService
    IDisposable
    Inherited Members
    BaseInputDeviceManager.EnablePointerCache
    BaseInputDeviceManager.InputSystemProfile
    BaseInputDeviceManager.GetActiveControllers()
    BaseInputDeviceManager.Destroy()
    BaseInputDeviceManager.RequestPointers(SupportedControllerType, Handedness)
    BaseInputDeviceManager.RecyclePointers(IMixedRealityInputSource)
    BaseDataProvider<IMixedRealityInputSystem>.Registrar
    BaseDataProvider<IMixedRealityInputSystem>.Service
    BaseService.DefaultPriority
    BaseService.Name
    BaseService.Priority
    BaseService.ConfigurationProfile
    BaseService.Reset()
    BaseService.LateUpdate()
    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.UnityInput
    Assembly: cs.temp.dll.dll
    Syntax
    [MixedRealityDataProvider(typeof(IMixedRealityInputSystem), null, "Unity Mouse Device Manager", "Profiles/DefaultMixedRealityMouseInputProfile.asset", "MixedRealityToolkit.SDK", true)]
    public class MouseDeviceManager : BaseInputDeviceManager, IMixedRealityMouseDeviceManager, IMixedRealityInputDeviceManager, IMixedRealityDataProvider, IMixedRealityService, IDisposable

    Constructors

    MouseDeviceManager(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.")]
    public MouseDeviceManager(IMixedRealityServiceRegistrar registrar, IMixedRealityInputSystem inputSystem, string name = null, uint priority = 10U, BaseMixedRealityProfile profile = null)
    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.

    MouseDeviceManager(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)

    Constructor.

    Declaration
    public MouseDeviceManager(IMixedRealityInputSystem inputSystem, string name = null, uint priority = 10U, BaseMixedRealityProfile profile = null)
    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.

    Properties

    Controller

    Current Mouse Controller.

    Declaration
    public MouseController Controller { get; }
    Property Value
    Type Description
    MouseController

    CursorSpeed

    Gets or sets a multiplier value used to adjust the speed of the mouse cursor.

    Declaration
    public float CursorSpeed { get; set; }
    Property Value
    Type Description
    Single

    MouseInputProfile

    Typed representation of the ConfigurationProfile property.

    Declaration
    public MixedRealityMouseInputProfile MouseInputProfile { get; }
    Property Value
    Type Description
    MixedRealityMouseInputProfile

    WheelSpeed

    Gets or sets a multiplier value used to adjust the speed of the mouse wheel.

    Declaration
    public float WheelSpeed { get; set; }
    Property Value
    Type Description
    Single

    Methods

    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()

    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
    BaseInputDeviceManager.Initialize()

    Update()

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

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

    Implements

    IMixedRealityMouseDeviceManager
    IMixedRealityInputDeviceManager
    IMixedRealityDataProvider
    IMixedRealityService
    System.IDisposable
    Back to top Generated by DocFX