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

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

    Show / Hide Table of Contents

    Class SimulatedControllerDataProvider

    Produces simulated data every frame that defines the position and rotation of the simulated controller.

    Inheritance
    Object
    SimulatedControllerDataProvider
    SimulatedHandDataProvider
    SimulatedMotionControllerDataProvider
    Inherited Members
    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 SimulatedControllerDataProvider

    Constructors

    SimulatedControllerDataProvider(MixedRealityInputSimulationProfile)

    Declaration
    public SimulatedControllerDataProvider(MixedRealityInputSimulationProfile _profile)
    Parameters
    Type Name Description
    MixedRealityInputSimulationProfile _profile

    Fields

    cancelRotationKey

    Declaration
    protected static readonly KeyBinding cancelRotationKey
    Field Value
    Type Description
    KeyBinding

    IsAlwaysVisibleLeft

    If true then the left controller is always visible, regardless of simulating.

    Declaration
    public bool IsAlwaysVisibleLeft
    Field Value
    Type Description
    Boolean

    IsAlwaysVisibleRight

    If true then the right controller is always visible, regardless of simulating.

    Declaration
    public bool IsAlwaysVisibleRight
    Field Value
    Type Description
    Boolean

    lastInputTrackedTimestampGaze

    Declaration
    protected long lastInputTrackedTimestampGaze
    Field Value
    Type Description
    Int64

    lastInputTrackedTimestampLeft

    Declaration
    protected long lastInputTrackedTimestampLeft
    Field Value
    Type Description
    Int64

    lastInputTrackedTimestampRight

    Declaration
    protected long lastInputTrackedTimestampRight
    Field Value
    Type Description
    Int64

    lastSimulationGaze

    Declaration
    protected float lastSimulationGaze
    Field Value
    Type Description
    Single

    lastSimulationLeft

    Declaration
    protected float lastSimulationLeft
    Field Value
    Type Description
    Single

    lastSimulationRight

    Declaration
    protected float lastSimulationRight
    Field Value
    Type Description
    Single

    mouseRotation

    Declaration
    protected readonly MouseRotationProvider mouseRotation
    Field Value
    Type Description
    MouseRotationProvider

    profile

    Declaration
    protected MixedRealityInputSimulationProfile profile
    Field Value
    Type Description
    MixedRealityInputSimulationProfile

    Properties

    IsSimulatingLeft

    Left controller is controlled by user input.

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

    IsSimulatingRight

    Right controller is controlled by user input.

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

    Methods

    ResetInput(Handedness)

    Reset the controller to its default state.

    Declaration
    public void ResetInput(Handedness handedness)
    Parameters
    Type Name Description
    Handedness handedness

    SimulateUserInput(MouseDelta)

    Update controller state based on keyboard and mouse input

    Declaration
    protected virtual void SimulateUserInput(MouseDelta mouseDelta)
    Parameters
    Type Name Description
    MouseDelta mouseDelta
    Back to top Generated by DocFX