[LayaNative 2.0]native 获取Texture上的某个区域的像素点 getPixels中有报错
								代码如下:
 
let tex: Laya.Texture = new Laya.Texture();
tex.load("res/img/108879.png",Laya.Handler.create(this,function(): void{
tex.getPixels(0,0,1,1);
}));
														let tex: Laya.Texture = new Laya.Texture();
tex.load("res/img/108879.png",Laya.Handler.create(this,function(): void{
tex.getPixels(0,0,1,1);
}));
没有找到相关结果
									已邀请:
																	
							要回复问题请先登录

4 个回复
Aar0n
赞同来自:
LopnorNight
赞同来自:
Aar0n
赞同来自:
Aar0n
赞同来自: