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

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

    Show / Hide Table of Contents

    Interface IMixedRealityInputPlaybackService

    Plays back input animation via the input simulation system.

    Inherited Members
    IMixedRealityInputDeviceManager.GetActiveControllers()
    IMixedRealityService.Name
    IMixedRealityService.Priority
    IMixedRealityService.ConfigurationProfile
    IMixedRealityService.Initialize()
    IMixedRealityService.Reset()
    IMixedRealityService.Enable()
    IMixedRealityService.Update()
    IMixedRealityService.LateUpdate()
    IMixedRealityService.Disable()
    IMixedRealityService.Destroy()
    IDisposable.Dispose()
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IMixedRealityInputPlaybackService : IMixedRealityInputDeviceManager, IMixedRealityDataProvider, IMixedRealityService, IDisposable

    Properties

    Animation

    The animation currently being played.

    Declaration
    InputAnimation Animation { get; set; }
    Property Value
    Type Description
    InputAnimation

    IsPlaying

    True if the animation is currently playing.

    Declaration
    bool IsPlaying { get; }
    Property Value
    Type Description
    Boolean

    LocalTime

    The local time in seconds relative to the start of the animation.

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

    Methods

    LoadInputAnimation(String)

    Try to load input animation data from the given file.

    Declaration
    bool LoadInputAnimation(string filepath)
    Parameters
    Type Name Description
    String filepath
    Returns
    Type Description
    Boolean

    True if loading input animation from the file succeeded.

    Pause()

    Pause playback and keep the current local time.

    Declaration
    void Pause()

    Play()

    Start playing the animation.

    Declaration
    void Play()

    Stop()

    Stop playing the animation and jump to the start.

    Declaration
    void Stop()
    Back to top Generated by DocFX