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

OVRMeshRenderer Class

Extends MonoBehaviour
This class combines the data from OVRMesh and OVRSkeleton to create a skinned mesh renderer used for rendering hand models obtained from the Meta Quest runtime 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

ForceRebind ()
Signature
void ForceRebind()
Returns
void

Inner Interface

IOVRMeshRendererDataProvider Interface

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

Methods

GetMeshRendererData ()
Signature
MeshRendererData GetMeshRendererData()
Returns
MeshRendererData

Inner Struct

MeshRendererData Struct

Struct containing information on if the data recieved from the provider is valid, if the data is high confidence, and if the system gesture pose is active.

Properties

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

Inner Enums

ConfidenceBehavior Enum

Enumeration Constants

Member
None
ToggleRenderer

SystemGestureBehavior Enum

Enumeration Constants

Member
None
SwapMaterial