Class MetaOpenXROcclusionSubsystem
The OpenXR Meta implementation of XROcclusionSubsystem.
Inheritance
SubsystemWithProvider<XROcclusionSubsystem, XROcclusionSubsystemDescriptor, XROcclusionSubsystem.Provider>
    
    MetaOpenXROcclusionSubsystem
  Implements
Inherited Members
      SubsystemWithProvider<XROcclusionSubsystem, XROcclusionSubsystemDescriptor, XROcclusionSubsystem.Provider>.subsystemDescriptor
    
    
    
    
    
    
    
    
    
    
    
  Namespace: UnityEngine.XR.OpenXR.Features.Meta
Assembly: Unity.XR.MetaOpenXR.dll
Syntax
[Preserve]
public sealed class MetaOpenXROcclusionSubsystem : XROcclusionSubsystem, ISubsystemProperties
isHandRemovalEnabled
Get whether hand removal is currently enabled.
Declaration
public bool isHandRemovalEnabled { get; }Property Value
| Type | Description | 
|---|---|
| bool | 
Remarks
This value is always false while the subsystem is not yet running.
isHandRemovalSupported
Get whether hand removal is supported by the OpenXR runtime.
Declaration
public Supported isHandRemovalSupported { get; }Property Value
| Type | Description | 
|---|---|
| Supported | 
 | 
Methods
TrySetHandRemovalEnabled(bool)
Attempts to set whether hand removal is enabled. Enable hand removal if your project uses a separate occlusion method for hands.
Declaration
public XrResult TrySetHandRemovalEnabled(bool enableHandRemoval)Parameters
| Type | Name | Description | 
|---|---|---|
| bool | enableHandRemoval | Indicates whether to enable hand removal. | 
Returns
| Type | Description | 
|---|---|
| XrResult | 
 |