docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class IUsesFacialExpressionsMethods

    Inheritance
    object
    IUsesFacialExpressionsMethods
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.MARS.Providers
    Assembly: Unity.MARS.Interfaces.dll
    Syntax
    [MovedFrom("Unity.MARS")]
    public static class IUsesFacialExpressionsMethods

    Methods

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

    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<float> onEngage
    Action<float> onDisengage

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

    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<float> onEngage
    Action<float> onDisengage
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)