OpenXRMetaEnvironmentDepthExtensionWrapper
Inherits: OpenXRExtensionWrapperExtension
Wraps the XR_META_environment_depth
extension.
Description
Wraps the XR_META_environment_depth
extension.
Methods
bool |
get_hand_removal_enabled ( ) const |
bool |
|
bool |
|
bool |
|
void |
set_hand_removal_enabled ( bool enable ) |
void |
|
void |
Signals
openxr_meta_environment_depth_started ( )
Emitted after environment depth successfully starts.
openxr_meta_environment_depth_stopped ( )
Emitted after environment depth successfully stops.
Method Descriptions
bool get_hand_removal_enabled ( ) const
Returns true
if hand removal is enabled; otherwise, false
.
bool is_environment_depth_started ( )
Returns true
if environment depth has been started; otherwise, false
.
bool is_environment_depth_supported ( )
Returns true
if environment depth is supported; otherwise, false
.
bool is_hand_removal_supported ( )
Returns true
if hand removal is supported; otherwise, false
.
void set_hand_removal_enabled ( bool enable )
Enables or disables hand removal.
When enabled, the runtime will attempt to remove the user's hands from the environment depth data. However, this will only work if hand tracking is enabled and the user isn't using controllers.
void start_environment_depth ( )
Starts environment depth.
void stop_environment_depth ( )
Stops environment depth.