[LayaAir 2.0]从大图里边截取一部分显示,为啥显示不出来?

let imgBig:Laya.Image=new Laya.Image();
imgBig.skin="big.jpg"; 
let imgCut:Laya.Image=new Laya.Image();
let texture:Laya.Texture=Laya.Texture.create(imgBig,0,0,100,100);
imgCut.texture=texture;
Laya.stage.addChild(imgCut);
已邀请:

要回复问题请先

商务合作
商务合作