大约有 598 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0051 秒)
Laya3.0_api(234) Laya_社区(164) Laya2.0_api(108) laya_api(58) Laya2.0_文档(19) Laya3.0_文档(12) Laya_示例(2) Laya2.0_示例(1)
...log("当前选择的索引:" + index); } } class Item extends Laya.Box { static WID: number = 373; static HEI: number = 85; private img: Laya.Image; constructor() { super(); this.size(Item.WID, Item.HEI); this.img = new Laya.Image(); this.addChild(this.img); } setImg(src: string): void { this.img....
来源: Laya3.0_文档 发布时间: 20230927
...der.SOUND, 0, true, null, false) }) public static playBackGroundMusic(url: string, start: number) { if (soundMsg.isPlayingBgMusic) { let path = "remote/music/" + url + '.mp3'; Laya.SoundMana...
来源: Laya_社区 发布时间: 20201102
...次加载正确,刷新几次就变大了。 class GameMain{ public static pxTimes: number = Laya.Browser.height / Laya.Browser.clientHeight; constructor() { console.log('ch=' + Laya.Browser.clientHeight + ', h=' + Laya.Browser.height + ', pxTimes=' + GameMain.pxTimes)...
来源: Laya_社区 发布时间: 20170403
...vas里反预乘来解决这个问题 bin\libs里找到laya.core.js,找到static drawToCanvas方法 ....不变 var dt = ctx._targets.getData(0, 0, canvasWidth, canvasHeight); //增加开始,进行反预乘处理 for (var i= 0, len= dt.length; i < len; i += 4) { var alpha = dt[i + 3] / 255.0; i...
来源: Laya_社区 发布时间: 20231110
... //记录当前机柜 public static var currentCabinet:Cabinet; public function isInCab():Boolean { if(this.cab.mouseX<0 || this.cab.mouseX>this.cab.width) r...
来源: Laya_社区 发布时间: 20180202
...适合的!比如使用这个模式 /**寻址模式_不循环。*/ public static const FILTERMODE_TRILINEAR:int = 2; 或者对anisoLevel大小进行设置 filterMode 进行修改 具体效果需要你自己调试 这个一样可以达到控制远近效果的! 2018-10-27 0 1 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20181024
...频繁播放声音导致 /** 当前引擎版本。*/ public static var version:String = "1.7.8"; 附件 : --> src.zip 2017-08-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 ...
来源: Laya_社区 发布时间: 20170815
...回复 xyz 赞同来自: 看来还是要自己领取悬赏了。 private static onRequestComplete(hr:Laya.HttpRequest, call:Laya.Handler):void { call.runWith(hr.data); Http._requests.push(hr); } 2019-06-10 0 1 分享 微博 QZONE 微信 1560063291用户 赞同来自: 已解决,联系我 xyz 2019-0...
来源: Laya_社区 发布时间: 20190609
...nt pivotX pivotY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer co...
来源: Laya3.0_api 发布时间: 20231115
...votY right rotation scaleX scaleY scene scrollRect skewX skewY space stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearT...
来源: Laya3.0_api 发布时间: 20231115