ARMatteGenerator
An object that creates matte textures you use to occlude your app’s virtual content with people, that ARKit recognizes in the camera feed.
Declaration
class ARMatteGeneratorOverview
Use this class when you want full control over occluding your app’s virtual content, based on people ARKit recognizes in the camera feed.
To assist your custom renderer with people occlusion, matte generator processes alpha and depth information in a frame’s segmentationBuffer and estimatedDepthData to provide you with matte and depth textures. You use these textures to layer people on top of your app’s virtual content.