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

    Struct MRBody

    Provides a template for tracked body data

    Namespace: Unity.MARS.Data
    Syntax
    [MovedFrom("Unity.MARS")]
    [Obsolete("MRBody is obsolete. Use MarsBody instead")]
    public struct MRBody : IMRTrackable, IEquatable<MRBody>

    Constructors

    MRBody(Pose)

    Create a trackable MRBody data in MARS

    Declaration
    public MRBody(Pose pose)
    Parameters
    Type Name Description
    Pose pose

    Pose of the trackable MRBody.

    Properties

    id

    The ID of this body as determined by the provider

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

    landmarkBounds

    Bounds of available body landmarks

    Declaration
    public Dictionary<MRBodyLandmark, Rect> landmarkBounds { readonly get; set; }
    Property Value
    Type Description
    Dictionary<MRBodyLandmark, Rect>

    landmarkPoses

    World poses of available body landmarks

    Declaration
    public Dictionary<MRBodyLandmark, Pose> landmarkPoses { readonly get; set; }
    Property Value
    Type Description
    Dictionary<MRBodyLandmark, Pose>

    pose

    The pose of this body

    Declaration
    public Pose pose { readonly get; set; }
    Property Value
    Type Description
    Pose
    Implements
    IMRTrackable.pose

    Methods

    Equals(MRBody)

    Declaration
    public bool Equals(MRBody other)
    Parameters
    Type Name Description
    MRBody other
    Returns
    Type Description
    Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)