Class FacialExpressionsRecorder
Records facial expression data
Inherited Members
Namespace: Unity.MARS.Data.Recorded
Assembly: Unity.MARS.dll
Syntax
[MovedFrom("Unity.MARS.Recording")]
public class FacialExpressionsRecorder : DataRecorder, IUsesFacialExpressions, IFunctionalitySubscriber<IProvidesFacialExpressions>, 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 facial expression data to a Timeline and create a facial expressions 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 facial expressions recording object, or null if creation fails |
Overrides
Implements
Unity.XRTools.ModuleLoader.IFunctionalitySubscriber<TProvider>
Unity.XRTools.ModuleLoader.IFunctionalitySubscriber