docs.unity3d.com
    Show / Hide Table of Contents

    Struct MRBody

    Provides a template for tracked body data

    Namespace: Unity.MARS.Data
    Syntax
    [MovedFrom("Unity.MARS")]
    public struct MRBody : IMRTrackable, IEquatable<MRBody>

    Constructors

    MRBody(Pose)

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

    Properties

    id

    The id of this body as determined by the provider

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

    landmarkBounds

    Bounds of available body landmarks

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

    landmarkPoses

    World poses of available body landmarks

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

    pose

    The pose of this body

    Declaration
    public Pose pose { 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()
    Back to top
    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