Search Unity

ARFoundation 2.2 : taking a screenshot of the model with the realworld picture

Discussion in 'AR' started by shacharoz, Feb 24, 2020.

  1. shacharoz

    shacharoz

    Joined:
    Jul 11, 2013
    Posts:
    98
    hi guys,
    i cannot manage to actually take a snapshot from the real AR camera feed.
    i tried to use a render texture from a second camera, and it only captures the virtual items without the real world.
    then i saw there is ARCameraBackground class and i assume it has something to do with this, but i cant find any example of the Blit command.

    i am using AR Foundation vs 2.2.0 preview 6

    is there a chance you could explain me how to get a texture from the camera feed frame?
     
  2. todds_unity

    todds_unity

    Joined:
    Aug 1, 2018
    Posts:
    324