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

    Struct MarsBody

    Provides a template for tracked body data

    Namespace: Unity.MARS.Data
    Syntax
    [MovedFrom("Unity.MARS")]
    public struct MarsBody : IMarsBody, IMRTrackable

    Fields

    BodyDefaultHeight

    The height for a stand-in human body, used as a basis for scaling

    Declaration
    public static float BodyDefaultHeight
    Field Value
    Type Description
    Single

    Properties

    BodyPose

    The Mecanim muscle data for this body

    Declaration
    public HumanPose BodyPose { readonly get; set; }
    Property Value
    Type Description
    HumanPose
    Implements
    IMarsBody.BodyPose

    BoneLengths

    (Optional) Lengths of each bone of this body, corresponding to the Mecanim humanoid

    Declaration
    public List<float> BoneLengths { readonly get; set; }
    Property Value
    Type Description
    List<Single>
    Implements
    IMarsBody.BoneLengths

    Height

    The height of this body

    Declaration
    public float Height { readonly get; set; }
    Property Value
    Type Description
    Single
    Implements
    IMarsBody.Height

    id

    The trackable ID of this body

    Declaration
    public MarsTrackableId id { readonly get; set; }
    Property Value
    Type Description
    MarsTrackableId
    Implements
    IMRTrackable.id

    pose

    The pose of the root bone of this body

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