Class XROcclusionSubsystem
Defines an interface for interacting with occlusion functionality.
Inheritance
Implements
Inherited Members
Namespace: UnityEngine .XR.ARSubsystems
Assembly: solution.dll
Syntax
public class XROcclusionSubsystem : SubsystemWithProvider<XROcclusionSubsystem, XROcclusionSubsystemDescriptor, XROcclusionSubsystem.Provider>, ISubsystem
Constructors
Name | Description |
---|---|
XROcclusion |
Construct the subsystem by creating the functionality provider. |
Properties
Name | Description |
---|---|
current |
Get the environment depth mode currently in use by the provider. |
current |
Get the human segmentation depth mode currently in use by the provider. |
current |
Get the current segmentation stencil mode in use by the subsystem. |
current |
Get the occlusion preference mode currently in use by the provider. |
environment |
Whether temporal smoothing is applied to the environment depth image. Query for support with
environment |
environment |
Whether temporal smoothing should be applied to the environment depth image. Query for support with
environment |
requested |
Specifies the environment depth mode. |
requested |
Specifies the human segmentation depth mode. |
requested |
Specifies the human segmentation stencil mode. |
requested |
Specifies the requested occlusion preference mode. |
Methods
Name | Description |
---|---|
Get |
Get the enabled and disabled shader keywords for the material. |
Get |
Gets the occlusion texture descriptors associated with the current AR frame. |
Register(XROcclusion |
Register the descriptor for the occlusion subsystem implementation. |
Try |
Tries to acquire the latest environment depth confidence CPU image. |
Try |
Tries to acquire the latest environment depth CPU image. |
Try |
Tries to acquire the latest human depth CPU image. |
Try |
Tries to acquire the latest human stencil CPU image. |
Try |
Tries to acquire the latest raw environment depth CPU image. |
Try |
Tries to acquire the latest smoothed environment depth CPU image. |
Try |
Gets the environment depth texture descriptor. |
Try |
Gets the environment depth confidence texture descriptor. |
Try |
Gets the human depth texture descriptor. |
Try |
Gets the human stencil texture descriptor. |