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.

    Show / Hide Table of Contents

    Class InputRecordingControls

    Utility class to make input recording service accessible through game objects. Hook up buttons to the public functions to start and stop recording input.

    Inheritance
    Object
    InputRecordingControls
    Namespace: Microsoft.MixedReality.Toolkit.UI
    Assembly: cs.temp.dll.dll
    Syntax
    public class InputRecordingControls : MonoBehaviour

    Fields

    OnRecordingStarted

    Event raised when input recording is started.

    Declaration
    public UnityEvent OnRecordingStarted
    Field Value
    Type Description
    UnityEvent

    OnRecordingStopped

    Event raised when input recording is stopped.

    Declaration
    public UnityEvent OnRecordingStopped
    Field Value
    Type Description
    UnityEvent

    Methods

    SaveRecordedInput()

    Export recorded input.

    Declaration
    public void SaveRecordedInput()
    Remarks

    This will only save recorded input after recording has been stopped.

    ToggleRecording()

    Toggle input recording.

    Declaration
    public void ToggleRecording()
    Back to top Generated by DocFX