大约有 2,258 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0069 秒)
Laya_社区(1808) Laya3.0_api(129) laya_api(84) Laya2.0_api(82) Laya2.0_文档(76) Laya_示例(36) Laya3.0_文档(28) Laya2.0_示例(15)
...text': No function was found that matched the signature provided. at Texture2D.__proto._createWebGlTexture (laya.d3.js:37225) at Texture2D.__proto.recreateResource (laya.d3.js:37271) at Texture2D.__proto.onAsynLoaded (laya.d3.js:37329) at ResInfo.onLoaded (laya.core.js:13189)...
来源: Laya_社区 发布时间: 20190227
火狐浏览器上webgl异常 Error: WebGL: texSubImage2D: Texture has not been initialized prior to a partial upload, forcing the browser to clear it. This may be slow. async.race.0._hash.e3a9c451.js%20line%20297%20%3E%20eval:4:30925 Error: WebGL: texSubImage2D: This operation requires zeroing tex...
来源: Laya_社区 发布时间: 20171120
...空白了。。。 cuixueying • 2017-05-10 10:34 1、因为image引用的texture是同一个,所以你要确保你的texture引擎没有其他显示对象引用后,再去掉destroy,如果其他显示对象对其依然有引用,你可以先将image从现实列表移除,removeChild并让im...
来源: Laya_社区 发布时间: 20170509
...//192.167.0.100/h5/layawe ... 6756: TypeError: Cannot read property 'createTexture' of null var glTexture=this._source=gl.createTexture(); ^ TypeError: Cannot read property 'createTexture' of null at Texture2D.__proto._createWebGlTexture (http://192.167.0.100/h5/layawe ... 756:32) at Texture2D.__pro...
来源: Laya_社区 发布时间: 20180417
...text': No function was found that matched the signature provided. at Texture2D.__proto._createWebGlTexture (laya.d3.js:37225) at Texture2D.__proto.recreateResource (laya.d3.js:37271) at Texture2D.__proto.onAsynLoaded (laya.d3.js:37329) at ResInfo.onLoaded (laya.core.js:13189)...
来源: Laya_社区 发布时间: 20190323
...prite(); picture.loadImage(picturePath); Laya.stage.addChild(picture); var texture = Laya.loader.getRes(picturePath); picturePath.pivot(texture.width / 2, texture.height / 2); picture.x = Laya.stage.width / 2; picture.y = Laya.stage.height / 2; picture.scale(cardScaleValue, cardScaleValue, true); pi...
来源: Laya_社区 发布时间: 20181022
...构建app,native:2.0.3),三,创建一个sprite,设置默认的texture,修改texture后,新建一个sprite,获取全部属性,包括资源路径,但是显示的始终是默认的texture(可提供deme,是项目中遇到的,可以私发) Laya_Aaron • 2019-04-02 21:08 新...
来源: Laya_社区 发布时间: 20190402
...ader.load("res/apes/monkey2.png",Laya.Handler.create(this,function() { var texture=Laya.loader.getRes("res/apes/monkey2.png"); var sp=new Laya.Sprite(); sp.graphics.drawTexture(texture,0,0); sp.size(texture.width,texture.height); Laya.stage.addChild(sp); })); ``` 使用Graphics.drawTexture并不会...
来源: Laya2.0_文档 发布时间: 20210714
...自: (function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.s...
来源: Laya_社区 发布时间: 20170609
...aya.Event; var GlowFilter = Laya.GlowFilter; var Loader = Laya.Loader; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var mArmature; var fileName = "Dragon"; var mTexturePath; var mAniPath; var rowCount = 10; var colC...
来源: Laya_示例 发布时间: 20251209