docs.unity3d.com
    Show / Hide Table of Contents

    Class IUsesFacialExpressionsMethods

    Inheritance
    Object
    IUsesFacialExpressionsMethods
    Namespace: Unity.MARS.Providers
    Syntax
    public static class IUsesFacialExpressionsMethods : object

    Methods

    SubscribeToExpression(IUsesFacialExpressions, MRFaceExpression, Action<Single>, Action<Single>)

    Subscribe to the facial expression

    Declaration
    public static void SubscribeToExpression(this IUsesFacialExpressions obj, MRFaceExpression expression, Action<float> onEngage, Action<float> onDisengage = null)
    Parameters
    Type Name Description
    IUsesFacialExpressions obj
    MRFaceExpression expression
    Action<Single> onEngage
    Action<Single> onDisengage

    UnsubscribeToExpression(IUsesFacialExpressions, MRFaceExpression, Action<Single>, Action<Single>)

    Unsubscribe from the facial expression

    Declaration
    public static void UnsubscribeToExpression(this IUsesFacialExpressions obj, MRFaceExpression expression, Action<float> onEngage, Action<float> onDisengage = null)
    Parameters
    Type Name Description
    IUsesFacialExpressions obj
    MRFaceExpression expression
    Action<Single> onEngage
    Action<Single> onDisengage
    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