docs.unity3d.com
    Show / Hide Table of Contents

    Class FaceExpressionAction

    Inheritance
    Object
    FaceExpressionAction
    Namespace: Unity.MARS.Actions
    Syntax
    public class FaceExpressionAction : MonoBehaviour, IUsesFacialExpressions, IFunctionalitySubscriber<IProvidesFacialExpressions>, IFaceFeature, IMatchAcquireHandler, IMatchLossHandler, IAction, ISimulatable

    Properties

    provider

    Declaration
    public IProvidesFacialExpressions provider { get; set; }
    Property Value
    Type Description
    IProvidesFacialExpressions

    Methods

    OnMatchAcquire(QueryResult)

    Called when a query match has been found

    Declaration
    public void OnMatchAcquire(QueryResult queryResult)
    Parameters
    Type Name Description
    QueryResult queryResult

    Data associated with this event

    Implements
    IMatchAcquireHandler.OnMatchAcquire(QueryResult)

    OnMatchLoss(QueryResult)

    Called when a query match has been lost

    Declaration
    public void OnMatchLoss(QueryResult queryResult)
    Parameters
    Type Name Description
    QueryResult queryResult

    Data associated with this event

    Implements
    IMatchLossHandler.OnMatchLoss(QueryResult)

    Extension Methods

    IUsesFacialExpressionsMethods.SubscribeToExpression(IUsesFacialExpressions, MRFaceExpression, Action<Single>, Action<Single>)
    IUsesFacialExpressionsMethods.UnsubscribeToExpression(IUsesFacialExpressions, MRFaceExpression, Action<Single>, Action<Single>)
    Back to top
    Terms of use
    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