docs.unity3d.com
    显示 / 隐藏目录

    Interface IFacialExpression

    Represents the standard way of interacting with a facial expression

    Namespace: Unity.MARS
    Syntax
    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>
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)