docs.unity3d.com
    Show / Hide Table of Contents

    Interface IFacialExpression

    Represents the standard way of interacting with a facial expression

    Namespace: Unity.MARS.Data
    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
    Single

    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
    Single

    Events

    Disengaged

    What happens when the expression is disengaged

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

    Engaged

    What happens when the expression is engaged

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