Class FaceTrackingRecorder
Records face tracking data
Inherited Members
Namespace: Unity.MARS.Data.Recorded
Assembly: Unity.MARS.dll
Syntax
[MovedFrom("Unity.MARS.Recording")]
public class FaceTrackingRecorder : DataRecorder, IUsesFaceTracking, IFunctionalitySubscriber<IProvidesFaceTracking>, IFunctionalitySubscriber, IFaceFeature
Methods
Setup()
Setup upon the start of recording
Declaration
protected override void Setup()
Overrides
TearDown()
Tear down upon the end of recording. MR data is not guaranteed to exist upon tear down, so this method should not record any data.
Declaration
protected override void TearDown()
Overrides
TryCreateDataRecording(TimelineAsset, List<Object>)
Try to add recorded face data to a Timeline and create a face recording object that references this recorded data
Declaration
public override DataRecording TryCreateDataRecording(TimelineAsset timeline, List<Object> newAssets)
Parameters
Type | Name | Description |
---|---|---|
TimelineAsset | timeline | The Timeline that holds recorded data |
List<Object> | newAssets | List to be filled out with newly created Assets other than the Data Recording. This method adds none. |
Returns
Type | Description |
---|---|
DataRecording | The face recording object, or null if creation fails |
Overrides
Implements
Unity.XRTools.ModuleLoader.IFunctionalitySubscriber<TProvider>
Unity.XRTools.ModuleLoader.IFunctionalitySubscriber