docs.unity3d.com
    Show / Hide Table of Contents

    Struct FaceBlendShapePose

    Stores a face pose as a set of blend shape weights.

    Namespace: Unity.LiveCapture.ARKitFaceCapture
    Syntax
    public struct FaceBlendShapePose

    Fields

    BrowDownLeft

    Declaration
    public float BrowDownLeft
    Field Value
    Type Description
    Single

    BrowDownRight

    Declaration
    public float BrowDownRight
    Field Value
    Type Description
    Single

    BrowInnerUp

    Declaration
    public float BrowInnerUp
    Field Value
    Type Description
    Single

    BrowOuterUpLeft

    Declaration
    public float BrowOuterUpLeft
    Field Value
    Type Description
    Single

    BrowOuterUpRight

    Declaration
    public float BrowOuterUpRight
    Field Value
    Type Description
    Single

    CheekPuff

    Declaration
    public float CheekPuff
    Field Value
    Type Description
    Single

    CheekSquintLeft

    Declaration
    public float CheekSquintLeft
    Field Value
    Type Description
    Single

    CheekSquintRight

    Declaration
    public float CheekSquintRight
    Field Value
    Type Description
    Single

    EyeBlinkLeft

    Declaration
    public float EyeBlinkLeft
    Field Value
    Type Description
    Single

    EyeBlinkRight

    Declaration
    public float EyeBlinkRight
    Field Value
    Type Description
    Single

    EyeLookDownLeft

    Declaration
    public float EyeLookDownLeft
    Field Value
    Type Description
    Single

    EyeLookDownRight

    Declaration
    public float EyeLookDownRight
    Field Value
    Type Description
    Single

    EyeLookInLeft

    Declaration
    public float EyeLookInLeft
    Field Value
    Type Description
    Single

    EyeLookInRight

    Declaration
    public float EyeLookInRight
    Field Value
    Type Description
    Single

    EyeLookOutLeft

    Declaration
    public float EyeLookOutLeft
    Field Value
    Type Description
    Single

    EyeLookOutRight

    Declaration
    public float EyeLookOutRight
    Field Value
    Type Description
    Single

    EyeLookUpLeft

    Declaration
    public float EyeLookUpLeft
    Field Value
    Type Description
    Single

    EyeLookUpRight

    Declaration
    public float EyeLookUpRight
    Field Value
    Type Description
    Single

    EyeSquintLeft

    Declaration
    public float EyeSquintLeft
    Field Value
    Type Description
    Single

    EyeSquintRight

    Declaration
    public float EyeSquintRight
    Field Value
    Type Description
    Single

    EyeWideLeft

    Declaration
    public float EyeWideLeft
    Field Value
    Type Description
    Single

    EyeWideRight

    Declaration
    public float EyeWideRight
    Field Value
    Type Description
    Single

    JawForward

    Declaration
    public float JawForward
    Field Value
    Type Description
    Single

    JawLeft

    Declaration
    public float JawLeft
    Field Value
    Type Description
    Single

    JawOpen

    Declaration
    public float JawOpen
    Field Value
    Type Description
    Single

    JawRight

    Declaration
    public float JawRight
    Field Value
    Type Description
    Single

    MouthClose

    Declaration
    public float MouthClose
    Field Value
    Type Description
    Single

    MouthDimpleLeft

    Declaration
    public float MouthDimpleLeft
    Field Value
    Type Description
    Single

    MouthDimpleRight

    Declaration
    public float MouthDimpleRight
    Field Value
    Type Description
    Single

    MouthFrownLeft

    Declaration
    public float MouthFrownLeft
    Field Value
    Type Description
    Single

    MouthFrownRight

    Declaration
    public float MouthFrownRight
    Field Value
    Type Description
    Single

    MouthFunnel

    Declaration
    public float MouthFunnel
    Field Value
    Type Description
    Single

    MouthLeft

    Declaration
    public float MouthLeft
    Field Value
    Type Description
    Single

    MouthLowerDownLeft

    Declaration
    public float MouthLowerDownLeft
    Field Value
    Type Description
    Single

    MouthLowerDownRight

    Declaration
    public float MouthLowerDownRight
    Field Value
    Type Description
    Single

    MouthPressLeft

    Declaration
    public float MouthPressLeft
    Field Value
    Type Description
    Single

    MouthPressRight

    Declaration
    public float MouthPressRight
    Field Value
    Type Description
    Single

    MouthPucker

    Declaration
    public float MouthPucker
    Field Value
    Type Description
    Single

    MouthRight

    Declaration
    public float MouthRight
    Field Value
    Type Description
    Single

    MouthRollLower

    Declaration
    public float MouthRollLower
    Field Value
    Type Description
    Single

    MouthRollUpper

    Declaration
    public float MouthRollUpper
    Field Value
    Type Description
    Single

    MouthShrugLower

    Declaration
    public float MouthShrugLower
    Field Value
    Type Description
    Single

    MouthShrugUpper

    Declaration
    public float MouthShrugUpper
    Field Value
    Type Description
    Single

    MouthSmileLeft

    Declaration
    public float MouthSmileLeft
    Field Value
    Type Description
    Single

    MouthSmileRight

    Declaration
    public float MouthSmileRight
    Field Value
    Type Description
    Single

    MouthStretchLeft

    Declaration
    public float MouthStretchLeft
    Field Value
    Type Description
    Single

    MouthStretchRight

    Declaration
    public float MouthStretchRight
    Field Value
    Type Description
    Single

    MouthUpperUpLeft

    Declaration
    public float MouthUpperUpLeft
    Field Value
    Type Description
    Single

    MouthUpperUpRight

    Declaration
    public float MouthUpperUpRight
    Field Value
    Type Description
    Single

    NoseSneerLeft

    Declaration
    public float NoseSneerLeft
    Field Value
    Type Description
    Single

    NoseSneerRight

    Declaration
    public float NoseSneerRight
    Field Value
    Type Description
    Single

    ShapeCount

    The number of supported blend shapes.

    Declaration
    public const int ShapeCount = null
    Field Value
    Type Description
    Int32

    TongueOut

    Declaration
    public float TongueOut
    Field Value
    Type Description
    Single

    Properties

    Item[Int32]

    The pose value for a blend shape at the given index.

    Declaration
    public float this[int index] { get; set; }
    Parameters
    Type Name Description
    Int32 index

    The blend shape index.

    Property Value
    Type Description
    Single

    Shapes

    The face blend shapes, excluding shapes with a negative value.

    Declaration
    public static readonly FaceBlendShape[] Shapes { get; }
    Property Value
    Type Description
    FaceBlendShape[]

    Methods

    FlipHorizontally()

    Horizontally mirrors the face pose.

    Declaration
    public void FlipHorizontally()
    Remarks

    ARKit's default blend shapes are set so that 'right' indicates the right side of the face when viewing from the front.

    GetValue(FaceBlendShape)

    Gets the pose value for a blend shape.

    Declaration
    public float GetValue(FaceBlendShape location)
    Parameters
    Type Name Description
    FaceBlendShape location

    The blend shape to get the value of.

    Returns
    Type Description
    Single

    The normalized blend shape influence.

    SetValue(FaceBlendShape, Single)

    Sets the pose value for a blend shape.

    Declaration
    public void SetValue(FaceBlendShape location, float value)
    Parameters
    Type Name Description
    FaceBlendShape location

    The blend shape to set the value of.

    Single value

    The normalized blend shape influence.

    Back to top
    Terms of use
    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