伊景轩

2019年8月18日 #

ios 上 WebCamTexture尺寸是16X16

摘要: if (_webCamTexture.width <= 16) { Color32[] colors = null; while (!_webCamTex... 阅读全文

posted @ 2019-08-18 21:05 伊景轩 阅读(133) 评论(0) 推荐(0) 编辑

unity 生成缩略图 , 图片缩放

摘要: public static Texture2D Resize(Texture2D source, int newWidth, int newHeight) { source.filterMode = FilterMode.Point; RenderTexture rt = RenderTexture 阅读全文

posted @ 2019-08-18 21:04 伊景轩 阅读(1280) 评论(0) 推荐(0) 编辑

导航