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

大约有 862 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0049 秒)

531. "Cannot read property 'addChild' of undefined" [ 64%]

...台 报错 btCollisionObject undefined 运行报错 Uncaught Can not find scene:GameView.scene undefined Laya2.1.0 JS调用Java PlatformClass undefined Uncaught TypeError: Cannot read property 'props' of undefined Cannot read property 'displayObject' of null 鼠标自定义样式官方有支持吗...

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

532. 请教一个最基本问题: 在项目代码中如何操作场景编辑器中设置的组件? [ 64%]

...不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 Laya.Loader.getRes请教 请问如何让textinput组件输入密码的时候显示*号? 自定义场景类导出layaMaxUI.ts有...

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

533. Sp.graphics.drawTexture()中的color参数使用的时候,会概率性导致整个场景中的节点颜色改变成我们使用过的颜色。 [ 64%]

...t TypeError: Cannot read property 'btCollisionObject' of undefined laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 自定义场景类导出layaMaxUI.ts有前缀导致报错 我...

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

534. 用Unity插件导出的模型渲染报错 [ 64%]

...ya.Sprite3D = Laya.loader.getRes("model/role/1/model.lh"); this._scene.addChild(sprite); } 155*****924 • 2019-05-16 15:16 这样写应该没问题吧? 155*****924 • 2019-05-16 15:18 Utils3D._mulMatrixArray(this._cacheAnimationNode[index].transform.getWorldMatrix(),bindPoses[meshBindP...

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

535. 模型的功能介绍(JavaScript-3D基础(JS)-LayaAir3D之模型和网格) [ 64%]

...,不要用默认的模型名称。 ```typescript //初始化3D场景 var scene = Laya.stage.addChild(Laya.Loader.getRes("res/threeDimen/scene/ChangeMaterialDemo/Conventional/scene.ls")); //获取球型精灵 var sphere = scene.getChildByName("Sphere"); //获取精灵的mesh var sphereMesh = sphere...

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

536. 模型的功能介绍(TypeScript-3D基础(TS)-LayaAir3D之模型和网格) [ 64%]

...,不要用默认的模型名称。 ```typescript //初始化3D场景 var scene = Laya.stage.addChild(Laya.Loader.getRes("res/threeDimen/scene/ChangeMaterialDemo/Conventional/scene.ls")); //获取球型精灵 var sphere = scene.getChildByName("Sphere"); //获取精灵的mesh var sphereMesh = sphere...

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

537. dialog弹窗不居中(laya2.0.0beta5) [ 64%]

...会停 • 2018-12-12 14:29 窗体是继承Laya.Dialog的,无法像Laya.scene那样加控制脚本,this.getComponent(xx),取不到控制类,何解?

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

538. 3D变换 · LayaAir3.3 · 引擎文档 · LAYABOX [ 64%]

...项目”,打开项目后,IDE已经默认创建了一个立方体。在Scene2D的属性面板中,新建一个组件脚本,添加装饰器暴露cube的属性,代码如下: @property({ type: Laya.Sprite3D }) public cube: Laya.Sprite3D; 然后在IDE中,将Cube节点拖入装饰器暴露...

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

539. laya.d3的SimpleSingletonList 疑似逻辑问题 [ 64%]

...active=true的情况。 因为mesh的active=false,然后就会调用到scene的render的remove。而SimpleSingletonList会获取element的indexinlist,但由于可能并没有进过add,所以这时候获得的index是-1,SimpleSingletonList的remove会继续进过逻辑:   var end = this.el...

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

540. touches一直为undefined [ 64%]

...适应屏幕大小,应该怎么弄呢 运行报错 Uncaught Can not find scene:GameView.scene undefined 适配微信小游戏资源一直提示资源加载不出来 问题状态 最新活动: 2017-12-02 11:05 浏览: 1185 关注: 2 人 klm123698745 • 2017-12-04 17:09 哥们 有时间帮我看一...

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