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

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

941. Uncaught TypeError: Cannot read property 'regClass' of undefined [ 65%]

...s Uncaught Can not find class Laya.Text 运行报错 Uncaught Can not find scene:GameView.scene undefined Laya2.1.0 JS调用Java PlatformClass undefined Cannot read property 'displayObject' of null 浏览器运行提示TypeError: xxx is not a function Uncaught unknown animationClip version. Uncaught...

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

942. 关于自定义Shader中使用 u_AmbientColor 这个Uniform变量的问题 [ 65%]

...写的一个Shader中使用了 u_AmbientColor 这个Uniform变量来获取Scene3D中的环境灯光中的Ambient Color, 然后效果是实现了,Shader确实顺利的获取了Ambient Color, 但是在IDE中有时候会报出一个说我 u_AmbientColor没有定义的警告   然后如果我在Shad...

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

943. Unity场景使用Laya导出插件导出,总是提示LayaAir3D UnityPlugin: unknown Shader Please use LayaAir3D shader [ 65%]

...t TypeError: Cannot read property 'btCollisionObject' of undefined laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 自定义场景类导出layaMaxUI.ts有前缀导致报错 问题状态 最新活动: 2020-12-18 14:31 浏览: 1980 关注: 6 人 ...

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

944. laya.d3.core.glitter.Glitter [ 65%]

...n : int[read-only] 子对象数量。 Node parent : Node父节点。Node scene : Scene[read-only] 获得所属场景。 Sprite3D  templet : GlitterTemplet[read-only] 获取闪光模板。 Glitter timer : Timer时间控制器,默认为Laya.timer。Node transform : Transform3D[read-only] 获...

来源: laya_api 发布时间: 20170929

945. laya.d3.core.particle.Particle3D [ 65%]

...chy : Boolean[read-only] 获取在层级中是否激活。 Sprite3D belongScene : Boolean[read-only] 获取是否属于场景。 Sprite3D componentsCount : int[read-only] 获得组件的数量。 Sprite3D destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node displ...

来源: laya_api 发布时间: 20170603

946. TypeError: Cannot read property '_addRenderObject' of undefined [ 65%]

...fined preload.js:55 at MeshSprite3D._onActive (file:///E:/A_LayaDemo/test3Dscene/bin/libs/laya.d3.js:5617:17)   at MeshSprite3D._activeHierarchy (file:///E:/A_LayaDemo/test3Dscene/bin/libs/laya.core.js:12325:18)   at Sprite3D._activeHierarchy (file:///E:/A_LayaDemo/test3Dscene/bin/libs/laya.core.j...

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

947. 如何在场景中获得node的位置信息? [ 65%]

如何在场景中获得node的位置信息? let target3 = this.scene.getChildByName("Target3"); 现在我需要知道target3这个node的位置信息。有什么办法吗? 2017-11-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

948. 资源导出后LAYA跟unity,transform效果不一致 [ 65%]

...信  赞同来自: 不经过Sprite3D.instantiate,直接addchild,this.scene2.addChild(Laya.loader.getRes("res/test.lh")),就没问题 @Laya_Aaron 2018-08-02 0 4 分享 微博 QZONE 微信 家民 赞同来自: 这个问题一直都还存在吗??? 2020-08-27 0 0 分享 微博 QZONE 微信 ...

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

949. LayaAir 2.0 TS版编译出错GameConfig跟创建项目时生成的内容不一致了 [ 64%]

...caleMode:string="fixedwidth"; static screenMode:string="none"; static startScene:string="test/TestScene.scene"; static sceneRoot:string=""; static debug:boolean=false; static stat:boolean=false; static physicsDebug:boolean=false; static exportSceneToJson:boolean=true; constructor(){} static init(){ ...

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

950. 寻路系统(JavaScript-3D基础(JS)-LayaAir3D之高级应用) [ 64%]

...灵相关操作忽略 var heightMap = Laya.Loader.getRes("res/threeDimen/scene/TerrainScene/Assets/HeightMap.png"); //初始化MeshTerrainSprite3D this.terrainSprite = MeshTerrainSprite3D.createFromMeshAndHeightMap(meshSprite3D.meshFilter.sharedMesh as Mesh, heightMap, 6.574996471405029, 10.00000095...

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