docs.unity.cn
    Show / Hide Table of Contents

    Class ARFoundationFaceExpression

    Inheritance
    Object
    ARFoundationFaceExpression
    ARFoundationBothEyebrowsRaiseExpression
    ARFoundationLeftEyebrowRaiseExpression
    ARFoundationLeftEyeCloseExpression
    ARFoundationMouthOpenExpression
    ARFoundationRightEyebrowRaiseExpression
    ARFoundationRightEyeCloseExpression
    ARFoundationSmileExpression
    ARFoundationSmileLeftExpression
    ARFoundationSmileRightExpression
    Namespace: Unity.MARS.Data.ARFoundation
    Syntax
    [MovedFrom("Unity.MARS.Providers")]
    public abstract class ARFoundationFaceExpression : IFacialExpression

    Constructors

    ARFoundationFaceExpression(MRFaceExpression)

    Declaration
    protected ARFoundationFaceExpression(MRFaceExpression name)
    Parameters
    Type Name Description
    MRFaceExpression name

    Fields

    m_Coefficient

    Declaration
    protected float m_Coefficient
    Field Value
    Type Description
    Single

    m_Engaged

    Declaration
    protected bool m_Engaged
    Field Value
    Type Description
    Boolean

    m_EventCooldownInSeconds

    Declaration
    protected float m_EventCooldownInSeconds
    Field Value
    Type Description
    Single

    m_LastDisengageEvent

    Declaration
    protected float m_LastDisengageEvent
    Field Value
    Type Description
    Single

    m_LastEngageEvent

    Declaration
    protected float m_LastEngageEvent
    Field Value
    Type Description
    Single

    m_Name

    Declaration
    protected readonly MRFaceExpression m_Name
    Field Value
    Type Description
    MRFaceExpression

    m_PreviousCoefficient

    Declaration
    protected float m_PreviousCoefficient
    Field Value
    Type Description
    Single

    m_SmoothingFilter

    Declaration
    protected float m_SmoothingFilter
    Field Value
    Type Description
    Single

    m_Threshold

    Declaration
    protected float m_Threshold
    Field Value
    Type Description
    Single

    Properties

    Coefficient

    Declaration
    public float Coefficient { get; }
    Property Value
    Type Description
    Single
    Implements
    IFacialExpression.Coefficient

    Name

    Declaration
    public MRFaceExpression Name { get; }
    Property Value
    Type Description
    MRFaceExpression
    Implements
    IFacialExpression.Name

    Threshold

    Declaration
    public float Threshold { get; set; }
    Property Value
    Type Description
    Single
    Implements
    IFacialExpression.Threshold

    Events

    Disengaged

    Declaration
    public event Action<float> Disengaged
    Event Type
    Type Description
    Action<Single>
    Implements
    IFacialExpression.Disengaged

    Engaged

    Declaration
    public event Action<float> Engaged
    Event Type
    Type Description
    Action<Single>
    Implements
    IFacialExpression.Engaged
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, October 13, 2022
    Terms of use