Hermes SDK Documentation
Public Attributes | List of all members
PolygonSkeletonData Struct Reference

All the skeleton data that can be sent to or received from Polygon. More...

#include <CoreSdkWrapperTypes.h>

Public Attributes

int64_t m_LastUpdateTime = 0
 
uint32_t m_UserIndex = 0
 The Polygon user number this data belongs to. More...
 
uint32_t m_SkeletonId = 0
 
PolygonBone m_Bones [NUM_BONES_IN_POLYGON_SKELETON]
 
bool m_ScaleToUser = false
 Scale the skeleton to calibrated proportions for VR. More...
 
float m_Height = 1.8f
 The height of the skeleton.
 
PolygonTarget m_Target
 Polygon retargeting target.
 

Detailed Description

All the skeleton data that can be sent to or received from Polygon.

Member Data Documentation

◆ m_ScaleToUser

bool PolygonSkeletonData::m_ScaleToUser = false

Scale the skeleton to calibrated proportions for VR.

When scale to user is turned on Polygon will work for VR. The skeleton will be scaled to the calibrated proportions.

◆ m_UserIndex

uint32_t PolygonSkeletonData::m_UserIndex = 0

The Polygon user number this data belongs to.

The user index refers to the list of users shown in the dashboard under the Polygon tab. The first user shown is user index 0, the second is number 1, and so on. This is converted to the hexadecimal user ID internally. Note that the list of users can be edited from the dashboard, so it can change at any time.


The documentation for this struct was generated from the following file: