大约有 2,173 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
Laya_社区(1729) Laya3.0_api(198) Laya2.0_文档(65) Laya2.0_api(61) laya_api(55) Laya3.0_文档(44) Laya2.0_示例(11) Laya_示例(10)
...//传入16进制颜色,或者图片路径,如 http://www.manfredhu.com/images/matterjs.png } }); LayaRender.run(render); mouseConstraint = Matter.MouseConstraint.create(engine, { ...
来源: Laya_社区 发布时间: 20180323
...r j = this.aaa.playerNameList[i].playerhandpoker.length - 1; var img: Laya.Image = this.aaa.playerNameList[i].playerhandpoker[j].img; img.skin = this.aaa.playerNameList[i].playerhandpoker[j].PokerDre; img.width = 76; img.height = 110; img.pos(200 + i * 35, 230); Laya.stage.addChild(img); this.recive...
来源: Laya_社区 发布时间: 20180626
...pressFormat hasListener isCreateFromURL off offAll offAllCaller on once setImageData setPixlesData setSubPixelsData destroyUnusedResources Constructors constructor new Texture2DArray(width: number, height: number, depth: number, format: TextureFormat, mipmap?: boolean, canRead: boolean, sRGB?: boole...
来源: Laya3.0_api 发布时间: 20231115
...der中opengl函数问题 两个问题 有元件支援视频流渲染吗? Image元件读不了资料流 mask在layaplayer中有问题 问题状态 最新活动: 2020-11-21 14:38 浏览: 7095 关注: 7 人 Laya_XS • 2020-11-21 14:39 可以尝试一下,打开laya.physics.js 搜索 box2d.b2BroadPh...
来源: Laya_社区 发布时间: 20190407
...到canvas上面 * * htmlCanvas.toBase64("image/png",0.92,function(base64){//webgl和canvas模式下为同步方法,加速器下是异步方法 * trace(base64);//打印图片base64信息,可以发给服...
来源: Laya_社区 发布时间: 20180626
...type":Laya.Loader.JSON}, {"url":"res/playerKpiFont.png","type":Laya.Loader.IMAGE}],new Laya.Handler(that,function(){ var jsonData = Laya.loader.getRes("res/playerKpiFont.json"); var imageData = Laya.loader.getRes("res/playerKpiFont.png"); // 左中右创建的3个实例 var bp = new BPFont(jsonData,...
来源: Laya_社区 发布时间: 20161014
...么删除释放资源? 两个问题 有元件支援视频流渲染吗? Image元件读不了资料流 graphics alpha 问题 问题状态 最新活动: 2018-08-15 21:42 浏览: 1450 关注: 5 人 ggg333 • 2018-08-15 11:27 非常感谢回复,对于3,常驻内存然后使用时候创建对象...
来源: Laya_社区 发布时间: 20180814
...r isCreateFromURL off offAll offAllCaller on once setDDSData setHDRData setImageData setKTXData setPixelsData setSubPixelsData destroyUnusedResources load Constructors constructor new Texture2D(width: number, height: number, format: TextureFormat, mipmap?: boolean, canRead: boolean, sRGB?: boolean, ...
来源: Laya3.0_api 发布时间: 20231115
...的问题反馈; 您说的第二个图片不显示的问题,因为loadImage为异步,而在image的skin更换皮肤时,可以从loader里使用getRes加载到texture,但此时texture还未加载完成,所以导致source._bitmap为null,无法显示的问题,这个问题目前我们没...
来源: Laya_社区 发布时间: 20211105
...参照代码如下: ```typescript //先加载plf类型的合并后文件Image.json Laya.loader.load([{url: "res/Image.json", type: "plf"}], Handler.create(this, function():void { //在回调里,正常使用原来的图集 Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, function():v...
来源: Laya2.0_文档 发布时间: 20210714