代码从虚拟相机中获取图片并显示
RenderTexture rt = new RenderTexture(1500, 1125, 16);
camera.targetTexture = rt
rawImage.texture = rt
Unity获取摄像头渲染贴图
猜你喜欢
转载自blog.csdn.net/weixin_43780907/article/details/123072421
今日推荐
周排行