OpenXRFbHandTrackingMesh

Inherits: Skeleton3D

A skinned mesh representing the player's hand (retreived using the XR_FB_hand_tracking_mesh extension).

Description

A skinned mesh representing the player's hand.

The mesh will be retreived using the XR_FB_hand_tracking_mesh extension (if supported by the OpenXR runtime and headset) sometime after the OpenXR session has begun.

It can be animated using XRHandModifier3D.

Properties

Hand

hand

0

Material

material

float

scale_override

bool

use_scale_override

Methods

MeshInstance3D

get_mesh_instance ( ) const


Enumerations

enum Hand:

Hand Hand::HAND_LEFT = 0

Left hand.

Hand Hand::HAND_RIGHT = 1

Right hand.


Property Descriptions

Hand hand = 0

  • void set_hand ( Hand value )

  • Hand get_hand ( )

The hand to retrieve the mesh for.


Material material

  • void set_material ( Material value )

  • Material get_material ( )

The material assigned to the hand mesh.


float scale_override

  • void set_scale_override ( float value )

  • float get_scale_override ( )

A scale multiplier to apply to the mesh.

Only used if use_scale_override is true.

Note: This is a global value that applies to all **OpenXRFbHandTrackingMesh nodes, which is only provided here for convenience.**


bool use_scale_override

  • void set_use_scale_override ( bool value )

  • bool get_use_scale_override ( )

Indicates whether or not scale_override should be used.

Note: This is a global value that applies to all **OpenXRFbHandTrackingMesh nodes, which is only provided here for convenience.**


Method Descriptions

MeshInstance3D get_mesh_instance ( ) const

Gets the MeshInstance3D node, if it has been created.