docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IFacialExpression

    Represents the standard way of interacting with a facial expression

    Namespace: Unity.MARS.Data
    Assembly: Unity.MARS.Interfaces.dll
    Syntax
    [MovedFrom("Unity.MARS")]
    public interface IFacialExpression

    Properties

    Coefficient

    A number from 0 to 1 indicating how much the given expression is shown

    Declaration
    float Coefficient { get; }
    Property Value
    Type Description
    float

    Name

    The named expression expressed by this instance

    Declaration
    MRFaceExpression Name { get; }
    Property Value
    Type Description
    MRFaceExpression

    Threshold

    The coefficient value at which engaged / disengaged events will happen

    Declaration
    float Threshold { get; set; }
    Property Value
    Type Description
    float

    Events

    Disengaged

    What happens when the expression is disengaged

    Declaration
    event Action<float> Disengaged
    Event Type
    Type Description
    Action<float>

    Engaged

    What happens when the expression is engaged

    Declaration
    event Action<float> Engaged
    Event Type
    Type Description
    Action<float>
    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)