InputRecordingControls Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Utility class to make input recording service accessible through game objects. Hook up buttons to the public functions to start and stop recording input.
public ref class InputRecordingControls : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/InputRecordingControls")]
public class InputRecordingControls : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/InputRecordingControls")>]
type InputRecordingControls = class
inherit MonoBehaviour
Public Class InputRecordingControls
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourInputRecordingControls
- Attributes
-
UnityEngine.AddComponentMenuAttribute
Constructors
| InputRecordingControls() |
Fields
| OnRecordingStarted |
Event raised when input recording is started. |
| OnRecordingStopped |
Event raised when input recording is stopped. |
Methods
| SaveRecordedInput() |
Export recorded input. |
| ToggleRecording() |
Toggle input recording. |