docs.unity3d.com
    Show / Hide Table of Contents

    Class FacialExpressionsRecorder

    Records facial expression data

    Inheritance
    Object
    DataRecorder
    FacialExpressionsRecorder
    Inherited Members
    DataRecorder.IsRecording
    DataRecorder.TimeFromStart
    DataRecorder.ToggleRecording()
    DataRecorder.CancelRecording()
    DataRecorder.FinalizeRecording()
    Namespace: Unity.MARS.Data.Recorded
    Syntax
    [MovedFrom("Unity.MARS.Recording")]
    public class FacialExpressionsRecorder : DataRecorder, IUsesFacialExpressions, IFunctionalitySubscriber<IProvidesFacialExpressions>, IFunctionalitySubscriber, IFaceFeature

    Methods

    Setup()

    Declaration
    protected override void Setup()
    Overrides
    DataRecorder.Setup()

    TearDown()

    Declaration
    protected override void TearDown()
    Overrides
    DataRecorder.TearDown()

    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
    DataRecorder.TryCreateDataRecording(TimelineAsset, List<Object>)

    Explicit Interface Implementations

    IFunctionalitySubscriber<IProvidesFacialExpressions>.provider

    Declaration
    IProvidesFacialExpressions IFunctionalitySubscriber<IProvidesFacialExpressions>.provider { get; set; }
    Returns
    Type Description
    IProvidesFacialExpressions
    Implements
    IFunctionalitySubscriber<TProvider>.provider

    Extension Methods

    IUsesFacialExpressionsMethods.SubscribeToExpression(IUsesFacialExpressions, MRFaceExpression, Action<Single>, Action<Single>)
    IUsesFacialExpressionsMethods.UnsubscribeToExpression(IUsesFacialExpressions, MRFaceExpression, Action<Single>, Action<Single>)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023