• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 660 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0063 秒)

641. 安装layaair2-cmd一直失败 [ 43%]

...Users\Administrator\AppData\Roaming\npm\node_modules\.staging 31936 timing stage:rollbackFailedOptional Completed in 3367ms 31937 timing stage:runTopLevelLifecycles Completed in 192968ms 31938 warn notsup Unsupported engine for got@5.7.1: wanted: {"node":">=0.10.0 <7"} (current: {"node":"12.13...

来源: Laya_社区 发布时间: 20200211

642. 使用百度地图显示当前位置(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 43%]

....body.appendChild(mapDiv);       // 适应窗口尺寸 refit(); Laya.stage.on(Event.RESIZE, this, refit);   // 初始化地图 map = new BMap.Map(mapDiv);   // 禁用部分交互 //map.disableDragging(); map.disableKeyboard(); map.disableScrollWheelZoom(); map.disableDoubleClickZoom()...

来源: Laya2.0_文档 发布时间: 20210715

643. Skeleton骨骼动画内存泄漏 [ 43%]

...Armature(0); this.sk.x = 400; this.sk.y = 700; this.sk.play(0, true); Laya.stage.addChild(this.sk); } Demo如下: 附件 : --> skTest.zip 2019-03-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 10 个回复 Lee3260 赞同...

来源: Laya_社区 发布时间: 20190320

644. Shader预编译(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 43%]

...例改自官方边缘光照(Shader_GlowingEdge)示例 ```typescript Laya.stage.on(Event.MOUSE_DOWN,this,function(){ let arr; for(let i = 0;i 生成的相关数据 ```typescript { "GlowingEdgeMaterial":[ { "defineNames":["DIRECTIONLIGHT"], "passIndex":0, "subShaderIndex":0 }, { "defineNames":["DIRECT...

来源: Laya2.0_文档 发布时间: 20210714

645. 使用百度地图显示当前位置(TypeScript-LayaAir基础篇(TS)-硬件设备相关) [ 43%]

...t.body.appendChild(this.mapDiv); // 适应窗口尺寸 this.refit(); Laya.stage.on(Laya.Event.RESIZE, this, this.refit); // 初始化地图 this.map = new this.BMap.Map(this.mapDiv); // 禁用部分交互 //this.map.disableDragging(); this.map.disableKeyboard(); this.map.disableScrollWheelZoom();...

来源: Laya2.0_文档 发布时间: 20210714

646. 使用百度地图 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...nt.body.appendChild(this.mapDiv); // 适应窗口尺寸 this.refit(); Laya.stage.on(Laya.Event.RESIZE, this, this.refit); // 初始化地图 this.map = new this.BMap.Map(this.mapDiv); // 禁用部分交互 //this.map.disableDragging(); this.map.disableKeyboard(); this.map.disableScrollWheelZoom(); t...

来源: Laya3.0_文档 发布时间: 20251010

647. 使用3D摄像机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

....x; this._rayViewport.y = this.viewport.y; this._rayViewport.width = ILaya.stage._width; this._rayViewport.height = ILaya.stage._height; Picker.calculateCursorRay(point, this._rayViewport, this._projectionMatrix, this.viewMatrix, null, out); } 参照3D-RPG项目,我们加上一段代码,当鼠...

来源: Laya3.0_文档 发布时间: 20251010

648. laya.ui.Button_API3.0 [ 42%]

... Button_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成...

来源: Laya3.0_api 发布时间: 20231115

649. 淘宝创意互动分包指南(TypeScript-小游戏适配文档-淘宝创意互动) [ 42%]

...者需要自己去加载分包和资源 ``` onConfigLoaded(): void { Laya.stage.on(Laya.Event.CLICK, this, this.toPage2) } toPage2(): void { my.redirectTo({ url: "/subpackage1/page2/index", success: function () { console.log("success") }, fail: function (err) { console.log("2222", err) } }) } ``` ...

来源: Laya2.0_文档 发布时间: 20210715

650. Shader预编译(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 42%]

...例改自官方边缘光照(Shader_GlowingEdge)示例 ```typescript Laya.stage.on(Event.MOUSE_DOWN,this,function():void{ let arr; for(let i = 0;i 生成的相关数据 ```typescript { "GlowingEdgeMaterial":[ { "defineNames":["DIRECTIONLIGHT"], "passIndex":0, "subShaderIndex":0 }, { "defineNames":["D...

来源: Laya2.0_文档 发布时间: 20210714