Class XROcclusionSubsystem.Provider
The provider which will service the XROcclusionSubsystem.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: solution.dll
Syntax
public abstract class XROcclusionSubsystem.Provider : SubsystemProvider<XROcclusionSubsystem>
Properties
Name | Description |
---|---|
currentEnvironmentDepthMode | Property to be implemented by the provider to get the environment depth mode currently in use. |
currentHumanDepthMode | Property to be implemented by the provider to get the human segmentation depth mode currently in use. |
currentHumanStencilMode | Property to be implemented by the provider to get the segmentation stencil mode currently in use. |
currentOcclusionPreferenceMode | Get the occlusion preference mode currently in use by the provider. |
environmentDepthConfidenceCpuImageApi | The XRCpuImage.Api for interacting with an XRCpuImage acquired with TryAcquireEnvironmentDepthConfidenceCpuImage(out Cinfo). |
environmentDepthCpuImageApi | The XRCpuImage.Api for interacting with an XRCpuImage acquired with TryAcquireEnvironmentDepthCpuImage(out Cinfo). |
environmentDepthTemporalSmoothingEnabled | Property to be implemented by the provider to get whether temporal smoothing is currently applied to the environment depth image. |
environmentDepthTemporalSmoothingRequested | Property to be implemented by the provider to get whether temporal smoothing has been requested for the environment depth image. |
humanDepthCpuImageApi | The XRCpuImage.Api for interacting with an XRCpuImage acquired with TryAcquireHumanDepthCpuImage(out Cinfo). |
humanStencilCpuImageApi | The XRCpuImage.Api for interacting with an XRCpuImage acquired with TryAcquireHumanStencilCpuImage(out Cinfo). |
requestedEnvironmentDepthMode | Property to be implemented by the provider to get or set the environment depth mode. |
requestedHumanDepthMode | Property to be implemented by the provider to get or set the requested human segmentation depth mode. |
requestedHumanStencilMode | Property to be implemented by the provider to get or set the requested human segmentation stencil mode. |
requestedOcclusionPreferenceMode | Specifies the requested occlusion preference mode. |
Methods
Name | Description |
---|---|
GetMaterialKeywords(out List<string>, out List<string>) | Method to be implemented by the provider to get the enabled and disabled shader keywords for the material. |
GetTextureDescriptors(XRTextureDescriptor, Allocator) | Method to be implemented by the provider to get the occlusion texture descriptors associated with the current AR frame. |
TryAcquireEnvironmentDepthConfidenceCpuImage(out Cinfo) | Tries to acquire the latest environment depth confidence CPU image. |
TryAcquireEnvironmentDepthCpuImage(out Cinfo) | Tries to acquire the latest environment depth CPU image. |
TryAcquireHumanDepthCpuImage(out Cinfo) | Tries to acquire the latest human depth CPU image. |
TryAcquireHumanStencilCpuImage(out Cinfo) | Tries to acquire the latest human stencil CPU image. |
TryAcquireRawEnvironmentDepthCpuImage(out Cinfo) | Tries to acquire the latest environment depth CPU image. |
TryAcquireSmoothedEnvironmentDepthCpuImage(out Cinfo) | Tries to acquire the latest smoothed environment depth CPU image. |
TryGetEnvironmentDepth(out XRTextureDescriptor) | Method to be implemented by the provider to get the environment depth texture descriptor. |
TryGetEnvironmentDepthConfidence(out XRTextureDescriptor) | Method to be implemented by the provider to get the environment depth confidence texture descriptor. |
TryGetHumanDepth(out XRTextureDescriptor) | Method to be implemented by the provider to get the human depth texture descriptor. |
TryGetHumanStencil(out XRTextureDescriptor) | Method to be implemented by the provider to get the human stencil texture descriptor. |