Struct MarsBody
Provides a template for tracked body data
Inherited Members
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 |