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

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

461. unity 3d 骨骼动画资源到处 KeyNotFoundException: The given key was not present in the dictionary 问题 [ 42%]

....GameObject gameObject, .JSONObject obj) LayaExport.DataManager.getAnimatorComponentData (UnityEngine.GameObject gameObject, .JSONObject component, System.Collections.Generic.List`1 linkSprite) LayaExport.DataManager.getComponentsData (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject...

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

462. laya.ui.DialogManager [ 42%]

...ndex:int):Node 设置子节点的索引位置。 Node  setLockView(value:Component):void设置锁定界面,如果为空则什么都不显示DialogManager size(width:Number, height:Number):Sprite 设置宽高。相当于分别设置width和height属性。 因为返回值为Sprite对象本身,...

来源: laya_api 发布时间: 20170929

463. 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoked without 'new' [ 42%]

...会抛出异常: VM282 WAGame.js:1 Uncaught TypeError: Class constructor Component cannot be invoked without 'new' at new Widget (laya.ui.js:139) at laya.ui.js:285 at laya.ui.js:1 at require (VM282 WAGame.js:1) at VM282 WAGame.js:1 at index.js? [sm]:17 at require (VM282 WAGame.js:1) at VM282 WAGam...

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

464. TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext' [ 42%]

...otX' of null 打开弹窗UI时报错 Uncaught TypeError: Class constructor Component cannot be invoked without 'new' TypeError: Cannot read property 'length' of null TypeError: Cannot read property 'getSubShaderAt' of undefined Uncaught TypeError: Cannot read property 'indexCount' Uncaught TypeError...

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

465. 我想自定义组件 ,引入layaeditor.d.ts直接编译,居然报这个文件有错 [ 42%]

...: TypeScript error: libs/layaeditor.d.ts(1106,37): Error TS2551: Property 'Component' does not exist on type 'typeof ui'. Did you mean 'UIComponent'? 2018-10-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 7 个回复 三...

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

466. 高级应用-Laya3D与网页混合 [ 40%]

...;package advancedModule { import laya.ani.AnimationTemplet; import laya.d3.component.animation.SkinAnimations; import laya.d3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core.Sprite3D; import laya.d3.core.light.DirectionLight; import laya.d3.core.material.StandardMaterial; import l...

来源: Laya_示例 发布时间: 20241001

467. 请问2.0中js怎么加天空盒子或穹顶,官网例子运行报错。 [ 40%]

...mera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.addComponent(CameraMoveScript); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //camera.clearColor =null; //天空盒 var skyBox = new Laya.SkyBox(); camera.sky = skyBox; skyBox.textureCube = Laya.TextureCube.load("res/skyBox...

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

468. 照相机-多照相机 [ 40%]

...ra2.normalizedViewport = new Laya.Viewport(0.5, 0.0, 0.5, 0.5); camera2.addComponent(CameraMoveScript); camera2.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; var skyBox = new Laya.SkyBox(); skyBox.textureCube = Laya.TextureCube.load("../../res/threeDimen/skyBox/skyBox2/skyCube.ltc"); camera2.sky = skyB...

来源: Laya_示例 发布时间: 20241001

469. Sprite3D-Sprite3D克隆 [ 40%]

...;package sprite3dModule { import laya.ani.AnimationTemplet; import laya.d3.component.animation.SkinAnimations; import laya.d3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core.Sprite3D; import laya.d3.core.material.StandardMaterial; import laya.d3.core.scene.Scene; import laya.d3.ma...

来源: Laya_示例 发布时间: 20241001

470. 使用3D精灵 · LayaAir3.0文档 · LAYABOX [ 40%]

...nkey_clone1); 五、添加组件 LayaAir中,可以对任何3D对象添加Component 组件,如动图5-1所示 (动图5-1) Component 组件,是附加到所有3D对象的内容的基类。 通过代码也可以添加组件,需要物体使用addComponent方法 //添加Rigidbody3D组件 let r...

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