Struct MarsBody
Provides a template for tracked body data
Namespace: Unity.MARS.Data
Syntax
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 { get; set; }
Property Value
Type | Description |
---|---|
HumanPose |
Implements
BoneLengths
(Optional) Lengths of each bone of this body, corresponding to the Mecanim humanoid
Declaration
public List<float> BoneLengths { get; set; }
Property Value
Type | Description |
---|---|
List<Single> |
Implements
Height
The height of this body
Declaration
public float Height { get; set; }
Property Value
Type | Description |
---|---|
Single |
Implements
id
The trackable ID of this body
Declaration
public MarsTrackableId id { get; set; }
Property Value
Type | Description |
---|---|
MarsTrackableId |
Implements
pose
The pose of the root bone of this body
Declaration
public Pose pose { get; set; }
Property Value
Type | Description |
---|---|
Pose |