Handles the visualization of the skeleton joints.
|
Quaternion | GetHandRotation (int handIndex) |
| Returns pure hand rotation value.
|
|
GameObject | GetJoint (int handIndex, int jointIndex) |
| Returns a specific skeleton joint.
|
|
List< GameObject > | GetJoints (int handIndex) |
| Returns all joints of the specified hand (0-1).
|
|
◆ Awake()
void ManoMotion.SkeletonManager.Awake |
( |
| ) |
|
|
inlineprivate |
◆ ChangeSkeletonModel()
void ManoMotion.SkeletonManager.ChangeSkeletonModel |
( |
SkeletonModel | skeleton | ) |
|
|
inlineprivate |
- Parameters
-
skeleton | Type of skeleton (2D or 3D) |
◆ CreateOneEuroFilters()
void ManoMotion.SkeletonManager.CreateOneEuroFilters |
( |
| ) |
|
|
inlineprivate |
◆ CreateSkeletonParent()
void ManoMotion.SkeletonManager.CreateSkeletonParent |
( |
| ) |
|
|
inlineprivate |
◆ FadeSkeletonJoints()
void ManoMotion.SkeletonManager.FadeSkeletonJoints |
( |
Renderer[] | renderers, |
|
|
HandInfo | handInfo ) |
|
inlineprivate |
- Parameters
-
renderers | The renderers of the skeleton model |
handInfo | the hand info using the skeleton model |
◆ GetHandRotation()
Quaternion ManoMotion.SkeletonManager.GetHandRotation |
( |
int | handIndex | ) |
|
|
inline |
◆ GetJoint()
GameObject ManoMotion.SkeletonManager.GetJoint |
( |
int | handIndex, |
|
|
int | jointIndex ) |
|
inline |
◆ GetJoints()
List< GameObject > ManoMotion.SkeletonManager.GetJoints |
( |
int | handIndex | ) |
|
|
inline |
◆ OnDisable()
void ManoMotion.SkeletonManager.OnDisable |
( |
| ) |
|
|
inlineprivate |
◆ OnEnable()
void ManoMotion.SkeletonManager.OnEnable |
( |
| ) |
|
|
inlineprivate |
◆ Update()
void ManoMotion.SkeletonManager.Update |
( |
| ) |
|
|
inlineprivate |
◆ UpdateJointsOrientation()
void ManoMotion.SkeletonManager.UpdateJointsOrientation |
( |
ref List< GameObject > | listToModify, |
|
|
HandInfo | handInfo, |
|
|
int | handIndex ) |
|
inlineprivate |
◆ UpdateJointsPosition()
void ManoMotion.SkeletonManager.UpdateJointsPosition |
( |
ref List< GameObject > | skeletonJoints, |
|
|
HandInfo | handInfo, |
|
|
List< OneEuroFilter< Vector3 > > | oneEuroFiltersToApply, |
|
|
OneEuroFilter< Vector2 > | depthFilter ) |
|
inlineprivate |
◆ depthFilterSetting
◆ FadeTime
const float ManoMotion.SkeletonManager.FadeTime = 0.5f |
|
staticprivate |
◆ handDepthFilters
◆ handRotations
Quaternion [] ManoMotion.SkeletonManager.handRotations = new Quaternion[2] |
|
private |
◆ instance
◆ joints
List<GameObject> ManoMotion.SkeletonManager.joints = new List<GameObject>(new GameObject[21]) |
|
private |
◆ JointsLength
const int ManoMotion.SkeletonManager.JointsLength = 21 |
|
staticprivate |
◆ jointsSecond
List<GameObject> ManoMotion.SkeletonManager.jointsSecond = new List<GameObject>(new GameObject[21]) |
|
private |
◆ OnSkeletonChanged
UnityEvent ManoMotion.SkeletonManager.OnSkeletonChanged = new UnityEvent() |
|
static |
◆ positionFilter
◆ positionFilterSecond
◆ positionFilterSetting
◆ renderers
Renderer [] ManoMotion.SkeletonManager.renderers |
|
private |
◆ renderersSecond
Renderer [] ManoMotion.SkeletonManager.renderersSecond |
|
private |
◆ shouldShowSkeleton
bool ManoMotion.SkeletonManager.shouldShowSkeleton = true |
|
private |
◆ skeletonConfidenceThreshold
float ManoMotion.SkeletonManager.skeletonConfidenceThreshold = 0.0001f |
|
private |
◆ skeletonModel
GameObject ManoMotion.SkeletonManager.skeletonModel |
|
private |
◆ skeletonModelSecond
GameObject ManoMotion.SkeletonManager.skeletonModelSecond |
|
private |
◆ skeletonParent
GameObject ManoMotion.SkeletonManager.skeletonParent |
|
private |
◆ skeletonPrefab2D
GameObject ManoMotion.SkeletonManager.skeletonPrefab2D |
|
private |
◆ skeletonPrefab3D
GameObject ManoMotion.SkeletonManager.skeletonPrefab3D |
|
private |
◆ Instance
◆ ShouldShowSkeleton
bool ManoMotion.SkeletonManager.ShouldShowSkeleton |
|
getset |