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

OVRSkeletonRenderer Class

Extends MonoBehaviour
Renders the skeleton of a skinned mesh using either lines or capsules.
This is helpful in visualizing the skeleton structure for hand tracking.

Properties

IsDataHighConfidence : bool
[Get]
Signature
bool IsDataHighConfidence
IsDataValid : bool
[Get]
Signature
bool IsDataValid
IsInitialized : bool
[Get]
Signature
bool IsInitialized
ShouldUseSystemGestureMaterial : bool
[Get]
Signature
bool ShouldUseSystemGestureMaterial

Methods

Update ()
Signature
void Update()
Returns
void

Inner Interface

IOVRSkeletonRendererDataProvider Interface

Provides an interface for getting a SkeletonRenderData.
A data provider such as OVRHand can expose this interface to allow users to retrieve a Skeleton Render Data from the skinned mesh.

Methods

GetSkeletonRendererData ()
Signature
SkeletonRendererData GetSkeletonRendererData()
Returns
SkeletonRendererData

Inner Struct

SkeletonRendererData Struct

Struct containing information including the root scale, whether the data recieved from the provider is valid, whether the data is high confidence, and whether the system gesture pose is active.

Properties

IsDataHighConfidence : bool
[Get][Set]
Signature
bool IsDataHighConfidence
IsDataValid : bool
[Get][Set]
Signature
bool IsDataValid
RootScale : float
[Get][Set]
Signature
float RootScale
ShouldUseSystemGestureMaterial : bool
[Get][Set]
Signature
bool ShouldUseSystemGestureMaterial

Inner Enums

ConfidenceBehavior Enum

Enumeration Constants

Member
None
ToggleRenderer

SystemGestureBehavior Enum

Enumeration Constants

Member
None
SwapMaterial