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

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

2141. tiledmap 可以在图块层的指定格子上添加Sprite吗 [ 47%]

...相关结果 已邀请: 与内容相关的链接 提交 3 个回复 layabox 赞同来自:  我们不建议在tiledMap的图层里添加Sprite。因为我们做了优化,一旦关闭了,会影响性能。请在tiledMap之外的显示对象里加吧。  2018-08-20 0 0 分享 微博 QZONE 微信 ...

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

2142. 游戏引导 原来使用 blendMode = "destination-out"; 现在怎么用? [ 47%]

...vElement的使用 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. IOS系统内嵌H5游戏,退到后台,等几秒返回音乐音效全无 LayaAirIDE下如何使用mask? 问题状态 最新活动: 2018-07-15 15:24 浏览: 3150 关注: 3 人 183*****291 • 2018-07-1...

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

2143. ide2.6.0beta编译报错:This syntax requires an imported helper but module 'tslib' cannot be found [ 47%]

ide2.6.0beta编译报错:This syntax requires an imported helper but module 'tslib' cannot be found 环境win10 layaboxide 2.6.0 beta 已经全局安装typescript,命令行 tsc -v,输出Version 3.8.3 nodejs 12.16.1 编译报错: semantic error TS2354: [31mThis syntax requires an imported he...

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

2144. js调用android的java代码失败。NoSuchMethodException [ 47%]

LayaNative js调用android的java代码失败。NoSuchMethodException 错误描述为: JSRuntime::callMethod {"v":"java.lang.NoSuchMethodException: demo.JSBridge.testString: [class java.lang.String]"} demo.JSBridge testString:   在js那边的代码 为: _doTestCallJava(){ let os = null ...

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

2145. [LayaAir3]创建自由光源,形状是否有错误? [ 47%]

... let freelightLayer = new Laya.Sprite();             freelightLayer.x = startX + gap * 2;             freelightLayer.y = startY + gap * 2;             this.owner.addChild(freelightLayer);              let freeStartX = 0;//startX + gap * 2;             let freeStartY = ...

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

2146. ReferenceError: Loader is not defined 搞不懂引擎原生的也会报这个错? [ 47%]

...set.on(Laya.Event.CLICK, this, this.onClickReset);  let partPath = "res/aixin_bao.part"; Laya.loader.load(partPath, Laya.Handler.create(this, this.onAssetsLoaded), null, Loader.JSON); }  onAssetsLoaded(settings) {         // 当load数组的时候,回调函数传入的参数不再是资...

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

2147. 自定义3D Shader · LayaAir3.3 · 引擎文档 · LAYABOX [ 47%]

...webGL,只能用GLSL语言。 Shader主要分两类:顶点着色器Vertex Shader和片段着色器Fragment Shader(也叫片元着色器) 。 1.1.1 顶点着色器Vertex Shader 顶点着色器是用来处理顶点数据的程序,如顶点坐标、法线、颜色和纹理坐标。 它在每...

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

2148. 多摄像机窗口的使用(JavaScript-3D基础(JS)-LayaAir3D之Camera) [ 47%]

...wCall与三角面数会少很多。([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Camera&name=MultiCamera)) ![](img/1.png)(图1) #### 如何动态修改Camera的视口 在上面的例子中我们设置了摄影机的视口。我们在上面的代码基础上进行...

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

2149. Spine动画最后一帧无法正常显示 [ 47%]

...== 0) { tGraphics = this._templet.getGrahicsDataWithCache(this._aniClipIndex, this._clipIndex) || this._createGraphics(); if (tGraphics && this.graphics != tGraphics) { this.graphics = tGraphics; } }决定动画外观的语句为this.graphics = tGraphics这句,当动画停在最后一帧...

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

2150. 前述问题this.sp3Role.transform.position无效 [ 47%]

...le.transform.position无效 您好,之前这个帖子(http://ask.layabox.com/question/50395)你们回复的this.sp3Role.transform.position这个方法只让主角移动和camera.transform.position相机跟随无效,因为主角无法移动,camara还没办法尝试,可否用我的demo试...

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