Class FaceTrackingRecorder
Records face tracking data
Inherited Members
Namespace: Unity.MARS.Data.Recorded
Syntax
public class FaceTrackingRecorder : DataRecorder, IUsesFaceTracking, IFunctionalitySubscriber<IProvidesFaceTracking>, IFaceFeature
Methods
Setup()
Declaration
protected override void Setup()
Overrides
TearDown()
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 |