Egret)截取某一范围作为图片

云俊美
2023-12-01
var renderTexture: egret.RenderTexture = new egret.RenderTexture();
renderTexture.drawToTexture(this._floor,new egret.Rectangle(-this._floor.width/2,0,this._floor.width,this._floor.height));

 类似资料: