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

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

    Show / Hide Table of Contents

    Class MouseController

    Manages the mouse using unity input system.

    Inheritance
    Object
    BaseController
    MouseController
    Implements
    IMixedRealityController
    Inherited Members
    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.SetupDefaultInteractions(Handedness)
    BaseController.SetupDefaultInteractions()
    BaseController.AssignControllerMappings(MixedRealityInteractionMapping[])
    BaseController.TryRenderControllerModel(Type, InputSourceType)
    BaseController.TryAddControllerModelToSceneHierarchy(GameObject)
    BaseController.GetControllerVisualizationProfile()
    BaseController.IsControllerMappingEnabled()
    BaseController.GetControllerMappings()
    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 MouseController : BaseController, IMixedRealityController

    Constructors

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

    Constructor.

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

    The controller's tracking state.

    Handedness controllerHandedness

    The handedness (ex: right) of the controller.

    IMixedRealityInputSource inputSource

    The controller's input source.

    MixedRealityInteractionMapping[] interactions

    The set of interactions supported by this controller.

    Properties

    DefaultInteractions

    The default interactions for this controller.

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

    Methods

    Update()

    Update controller.

    Declaration
    public void Update()

    Implements

    IMixedRealityController
    Back to top Generated by DocFX