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 IMixedRealityInputRecordingService

    Provides input recording into an internal buffer and exporting to files.

    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 IMixedRealityInputRecordingService : IMixedRealityInputDeviceManager, IMixedRealityDataProvider, IMixedRealityService, IDisposable

    Properties

    IsRecording

    True if input is being recorded.

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

    RecordingBufferTimeLimit

    Maximum duration in seconds of the input recording if UseBufferTimeLimit is enabled.

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

    If UseBufferTimeLimit is enabled then keyframes older than this limit will be discarded.

    UseBufferTimeLimit

    Limit the size of the recording buffer.

    Declaration
    bool UseBufferTimeLimit { get; set; }
    Property Value
    Type Description
    Boolean
    Remarks

    If recording is limited any input older than the RecordingBufferTimeLimit will be discarded.

    Methods

    DiscardRecordedInput()

    Discard all recorded input

    Declaration
    void DiscardRecordedInput()

    SaveInputAnimation(String)

    Save recorded input animation to a file.

    Declaration
    string SaveInputAnimation(string directory = null)
    Parameters
    Type Name Description
    String directory

    Directory in which to create the file. If null the persistent data path of the app is used.

    Returns
    Type Description
    String

    File path where input has been recorded.

    Remarks

    Filename is determined automatically.

    SaveInputAnimation(String, String)

    Save recorded input animation to a file.

    Declaration
    string SaveInputAnimation(string filename, string directory = null)
    Parameters
    Type Name Description
    String filename

    Name of the file to create.

    String directory

    Directory in which to create the file. If null the persistent data path of the app is used.

    Returns
    Type Description
    String

    File path where input has been recorded.

    StartRecording()

    Start unlimited input recording.

    Declaration
    void StartRecording()

    StopRecording()

    Stop recording input.

    Declaration
    void StopRecording()
    In This Article
    Back to top Generated by DocFX