会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
mc宇少
博客园
首页
新随笔
联系
订阅
管理
2020年7月28日
使用RenderTexture和camera.targetTexture生成快照
摘要: Camera有一个targetTexture属性,在设置了targetTexture后,Camera会在渲染时将其屏幕上的图像渲染到targetTexture上,可以使用快照实现镜头切换等特效 具体实现: private Texture2D CaptureCamera(Camera camera,
阅读全文
posted @ 2020-07-28 15:43 mc宇少
阅读(1030)
评论(0)
推荐(0)
公告