大约有 3,517 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0079 秒)
Laya_社区(2610) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) laya_api(98) Laya_示例(83) Laya3.0_文档(76) Laya2.0_示例(45)
... /** * 表示 Alt 键是处于活动状态 (true) 还是非活动状态 (false)。 */ altKey: boolean; /** * 表示 Ctrl 键是处于活动状态 (true) 还是非活动状态 (false)。 */...
来源: Laya_社区 发布时间: 20170601
...什么错?按照官网教程写的//初始化3d画布 Laya3D.init(0, 0, true); //设置全屏 Laya.stage.scaleMode = Stage.SCALE_FULL; //显示统计数据 Stat.show(); // 给舞台添加laya3d场景 var scene= Laya.stage.addChild(new Scene()) as Scene; //初始化照相机 var camera = scene.addC...
来源: Laya_社区 发布时间: 20170314
...mation(); // this.addChild(this._body_ani); // } // this._body_ani.play(0, true, doll_item.animation_name); this._box = box; this._fly_site.w = this._box._area.w - 20; this._box.graphics.drawLine( 0, this._fly_site.h, this._box._area.w, this._fly_site.h, "#ff0000", 1 ); // 当更新房间时 i...
来源: Laya_社区 发布时间: 20180515
...fined By altKey : Boolean[read-only] 表示 Alt 键是处于活动状态 (true) 还是非活动状态 (false)。 Event charCode : Boolean[read-only] 包含按下或释放的键的字符代码值。字符代码值为英文键盘值。 Event ctrlKey : Boolean[read-only] 表示 Ctrl 键是处于活...
来源: Laya2.0_api 发布时间: 20190513
...a constructor //动态加载js文件--my.js function loadJs(jspath,defer = true) { //得到html的头部dom // var theHead = document.getElementsByTagName('head').item(0); var theHead = document.getElementsByTagName('body').item(0); //创建脚本的dom对象实例 var myScript = document.createElem...
来源: Laya_社区 发布时间: 20180316
...esource.lock Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource...
来源: Laya3.0_api 发布时间: 20231115
...xt(begin, visibleLineCount) { var graphics = this.graphics; graphics.clear(true); var ctxFont = (this.italic ? "italic " : "") + (this.bold ? "bold " : "") + this.fontSize + "px " + (Browser.onIPhone ? (laya.display.Text._fontFamilyMap[this.font] || this.font) : this.font); Browser.context.font = ct...
来源: Laya_社区 发布时间: 20180417
...Resource.lock Defined in laya/resource/Resource.ts:95 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:97 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource....
来源: Laya3.0_api 发布时间: 20231102
... = new Texture(Browser.window.sharedCanvas); texture.bitmap.alwaysChange = true;//小程序使用,非常费,这个参数可以根据自己的需求适当调整,如果内容不变可以不用设置成true sprite.graphics.drawTexture(texture, 0, 0, texture.width, texture.height); Laya.stage.addC...
来源: Laya_社区 发布时间: 20181123
...leFilter]; v.mouseEnabled = false; } //按钮恢复 function enable_true(v) { v.filters = null; v.mouseEnabled = true; } 报错日志: TypeError: f.action.setValue is not a function at TextureSV.__proto.setFilters (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.co...
来源: Laya_社区 发布时间: 20170103