API reference
API reference
Select your platform
No SDKs available
No versions available

ISkeletonMapping Interface

Represents the different joint sets and parent/child relationships found in different skeletons.

Overview

Properties

IEnumerableHashSet< BodyJointId >
Joints[Get]
The set of BodyJointIds supported by this skeleton.

Public Member Functions

bool
TryGetParentJointId
( BodyJointId jointId,
out BodyJointId parent )
Get the parent joint for a given body joint.

Details

Properties

IEnumerableHashSet<BodyJointId> Oculus.Interaction.Body.Input.ISkeletonMapping.Joints
The set of BodyJointIds supported by this skeleton.

Member Functions

bool Oculus.Interaction.Body.Input.ISkeletonMapping.TryGetParentJointId
( BodyJointId jointId,
out BodyJointId parent )
Get the parent joint for a given body joint.
Parameters
jointId
The joint to fetch the parent for
parent
The parent joint
Returns
True if parent could be retrieved