Class MetaOpenXROcclusionSubsystem
The Meta OpenXR implementation of UnityEngine.XR.ARSubsystems.XROcclusionSubsystem.
Inheritance
SubsystemWithProvider<XROcclusionSubsystem, XROcclusionSubsystemDescriptor, XROcclusionSubsystem.Provider>
XROcclusionSubsystem
MetaOpenXROcclusionSubsystem
Implements
Inherited Members
XROcclusionSubsystem.requestedHumanStencilMode
XROcclusionSubsystem.currentHumanStencilMode
XROcclusionSubsystem.requestedHumanDepthMode
XROcclusionSubsystem.currentHumanDepthMode
XROcclusionSubsystem.requestedEnvironmentDepthMode
XROcclusionSubsystem.currentEnvironmentDepthMode
XROcclusionSubsystem.environmentDepthTemporalSmoothingRequested
XROcclusionSubsystem.environmentDepthTemporalSmoothingEnabled
XROcclusionSubsystem.requestedOcclusionPreferenceMode
XROcclusionSubsystem.currentOcclusionPreferenceMode
XROcclusionSubsystem.TryGetHumanStencil(out XRTextureDescriptor)
XROcclusionSubsystem.TryAcquireHumanStencilCpuImage(out XRCpuImage)
XROcclusionSubsystem.TryGetHumanDepth(out XRTextureDescriptor)
XROcclusionSubsystem.TryAcquireHumanDepthCpuImage(out XRCpuImage)
XROcclusionSubsystem.TryGetEnvironmentDepth(out XRTextureDescriptor)
XROcclusionSubsystem.TryAcquireEnvironmentDepthCpuImage(out XRCpuImage)
XROcclusionSubsystem.TryAcquireRawEnvironmentDepthCpuImage(out XRCpuImage)
XROcclusionSubsystem.TryAcquireSmoothedEnvironmentDepthCpuImage(out XRCpuImage)
XROcclusionSubsystem.TryGetEnvironmentDepthConfidence(out XRTextureDescriptor)
XROcclusionSubsystem.TryAcquireEnvironmentDepthConfidenceCpuImage(out XRCpuImage)
XROcclusionSubsystem.GetShaderKeywords()
XROcclusionSubsystem.GetShaderKeywords2()
XROcclusionSubsystem.Register(XROcclusionSubsystemCinfo)
SubsystemWithProvider<XROcclusionSubsystem, XROcclusionSubsystemDescriptor, XROcclusionSubsystem.Provider>.subsystemDescriptor
Namespace: UnityEngine.XR.OpenXR.Features.Meta
Assembly: Unity.XR.MetaOpenXR.dll
Syntax
[Preserve]
public sealed class MetaOpenXROcclusionSubsystem : XROcclusionSubsystem, ISubsystem
Properties
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 |
|