Class InputRecordingService
Provides input recording into an internal buffer and exporting to files.
Inheritance
Implements
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class InputRecordingService : BaseInputDeviceManager, IMixedRealityInputRecordingService, IMixedRealityInputDeviceManager, IMixedRealityDataProvider, IMixedRealityService, IDisposable
Constructors
InputRecordingService(IMixedRealityServiceRegistrar, IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
public InputRecordingService(IMixedRealityServiceRegistrar registrar, IMixedRealityInputSystem inputSystem, string name = null, uint priority = default(uint), BaseMixedRealityProfile profile = null)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityServiceRegistrar | registrar | The IMixedRealityServiceRegistrar instance that loaded the data provider. |
IMixedRealityInputSystem | inputSystem | The IMixedRealityInputSystem instance that receives data from this provider. |
String | name | Friendly name of the service. |
UInt32 | priority | Service priority. Used to determine order of instantiation. |
BaseMixedRealityProfile | profile | The service's configuration profile. |
InputRecordingService(IMixedRealityServiceRegistrar, IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
public InputRecordingService(IMixedRealityServiceRegistrar registrar, IMixedRealityInputSystem inputSystem, string name = null, uint priority = default(uint), BaseMixedRealityProfile profile = null)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityServiceRegistrar | registrar | The IMixedRealityServiceRegistrar instance that loaded the data provider. |
IMixedRealityInputSystem | inputSystem | The IMixedRealityInputSystem instance that receives data from this provider. |
String | name | Friendly name of the service. |
UInt32 | priority | Service priority. Used to determine order of instantiation. |
BaseMixedRealityProfile | profile | The service's configuration profile. |
InputRecordingService(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
public InputRecordingService(IMixedRealityInputSystem inputSystem, string name = null, uint priority = default(uint), BaseMixedRealityProfile profile = null)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityInputSystem | inputSystem | The IMixedRealityInputSystem instance that receives data from this provider. |
String | name | Friendly name of the service. |
UInt32 | priority | Service priority. Used to determine order of instantiation. |
BaseMixedRealityProfile | profile | The service's configuration profile. |
InputRecordingService(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
public InputRecordingService(IMixedRealityInputSystem inputSystem, string name = null, uint priority = default(uint), BaseMixedRealityProfile profile = null)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityInputSystem | inputSystem | The IMixedRealityInputSystem instance that receives data from this provider. |
String | name | Friendly name of the service. |
UInt32 | priority | Service priority. Used to determine order of instantiation. |
BaseMixedRealityProfile | profile | The service's configuration profile. |
Properties
InputRecordingProfile
Return the service profile and ensure that the type is correct.
Declaration
public MixedRealityInputRecordingProfile InputRecordingProfile { get; }
Property Value
Type | Description |
---|---|
MixedRealityInputRecordingProfile |
InputRecordingProfile
Return the service profile and ensure that the type is correct.
Declaration
public MixedRealityInputRecordingProfile InputRecordingProfile { get; }
Property Value
Type | Description |
---|---|
MixedRealityInputRecordingProfile |
IsEnabled
Service has been enabled.
Declaration
public bool IsEnabled { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsEnabled
Service has been enabled.
Declaration
public bool IsEnabled { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsRecording
Declaration
public bool IsRecording { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsRecording
Declaration
public bool IsRecording { get; }
Property Value
Type | Description |
---|---|
Boolean |
RecordingBufferTimeLimit
Declaration
public float RecordingBufferTimeLimit { get; set; }
Property Value
Type | Description |
---|---|
Single |
RecordingBufferTimeLimit
Declaration
public float RecordingBufferTimeLimit { get; set; }
Property Value
Type | Description |
---|---|
Single |
StartTime
Declaration
public float StartTime { get; }
Property Value
Type | Description |
---|---|
Single |
StartTime
Declaration
public float StartTime { get; }
Property Value
Type | Description |
---|---|
Single |
UseBufferTimeLimit
Declaration
public bool UseBufferTimeLimit { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
UseBufferTimeLimit
Declaration
public bool UseBufferTimeLimit { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Disable()
Declaration
public override void Disable()
Overrides
Disable()
Declaration
public override void Disable()
Overrides
DiscardRecordedInput()
Declaration
public void DiscardRecordedInput()
DiscardRecordedInput()
Declaration
public void DiscardRecordedInput()
Enable()
Declaration
public override void Enable()
Overrides
Enable()
Declaration
public override void Enable()
Overrides
LateUpdate()
Declaration
public override void LateUpdate()
Overrides
LateUpdate()
Declaration
public override void LateUpdate()
Overrides
SaveInputAnimation(String)
Declaration
public string SaveInputAnimation(string directory = null)
Parameters
Type | Name | Description |
---|---|---|
String | directory |
Returns
Type | Description |
---|---|
String |
SaveInputAnimation(String)
Declaration
public string SaveInputAnimation(string directory = null)
Parameters
Type | Name | Description |
---|---|---|
String | directory |
Returns
Type | Description |
---|---|
String |
SaveInputAnimation(String, String)
Declaration
public string SaveInputAnimation(string filename, string directory = null)
Parameters
Type | Name | Description |
---|---|---|
String | filename | |
String | directory |
Returns
Type | Description |
---|---|
String |
SaveInputAnimation(String, String)
Declaration
public string SaveInputAnimation(string filename, string directory = null)
Parameters
Type | Name | Description |
---|---|---|
String | filename | |
String | directory |
Returns
Type | Description |
---|---|
String |
StartRecording()
Declaration
public void StartRecording()
StartRecording()
Declaration
public void StartRecording()
StopRecording()
Declaration
public void StopRecording()
StopRecording()
Declaration
public void StopRecording()
Events
OnRecordingStarted
Declaration
public event Action OnRecordingStarted
Event Type
Type | Description |
---|---|
Action |
OnRecordingStarted
Declaration
public event Action OnRecordingStarted
Event Type
Type | Description |
---|---|
Action |
OnRecordingStopped
Declaration
public event Action OnRecordingStopped
Event Type
Type | Description |
---|---|
Action |
OnRecordingStopped
Declaration
public event Action OnRecordingStopped
Event Type
Type | Description |
---|---|
Action |