docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct MarsBody

    Provides a template for tracked body data

    Implements
    IMarsBody
    IMRTrackable
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.MARS.Data
    Assembly: Unity.MARS.Interfaces.dll
    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
    float

    Properties

    BodyPose

    The Mecanim muscle data for this body

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

    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<float>

    Height

    The height of this body

    Declaration
    public float Height { readonly get; set; }
    Property Value
    Type Description
    float

    id

    The trackable ID of this body

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

    pose

    The pose of the root bone of this body

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

    Implements

    IMarsBody
    IMRTrackable
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)