We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    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()
    In This Article
    Back to top Generated by DocFX