docs.unity3d.com
    目次を表示する/隠す

    Struct SerializedFaceData

    Serialized container for recorded face data

    Namespace: Unity.MARS.Data.Recorded
    Syntax
    [Serializable]
    [MovedFrom("Unity.MARS.Recording")]
    public struct SerializedFaceData

    Constructors

    SerializedFaceData(IMRFace, MRFaceLandmark[], MRFaceExpression[])

    Constructs a SerializedFaceData from an IMRFace

    Declaration
    public SerializedFaceData(IMRFace face, MRFaceLandmark[] landmarkEnumValues, MRFaceExpression[] expressionEnumValues)
    Parameters
    Type Name Description
    IMRFace face

    Face data to serialize

    MRFaceLandmark[] landmarkEnumValues

    Enumeration values to map 1:1 with serialized array of face landmark poses

    MRFaceExpression[] expressionEnumValues

    Enumeration values to map 1:1 with serialized array of face expression coefficients

    Properties

    ExpressionValues

    Array of 0-1 coefficients representing the display of available facial expressions

    Declaration
    public readonly float[] ExpressionValues { get; }
    Property Value
    Type Description
    Single[]

    ID

    The id of this face

    Declaration
    public readonly MarsTrackableId ID { get; }
    Property Value
    Type Description
    MarsTrackableId

    LandmarkPoses

    Array of world poses of available face landmarks

    Declaration
    public readonly Pose[] LandmarkPoses { get; }
    Property Value
    Type Description
    Pose[]

    Mesh

    A mesh for this face, if one exists

    Declaration
    public readonly Mesh Mesh { get; }
    Property Value
    Type Description
    Mesh

    Pose

    The pose of this face

    Declaration
    public readonly Pose Pose { get; }
    Property Value
    Type Description
    Pose
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)