Sample Code

Effecting People Occlusion in Custom Renderers

Occlude your app’s virtual content where ARKit recognizes people in the camera feed by using matte generator.



See Also

Custom Display

Displaying an AR Experience with Metal

Control rendering of your app's virtual content on top of a camera feed.

class 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.