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

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

91. 为了降低drawcall,升级了2.2版本,微信发布后报错 [ 71%]

...render (game.js:19109:27) at RenderQueue._render (game.js:34450:26) at Scene3D._renderScene (game.js:35543:83) at Camera.render (game.js:18877:16) at Scene3D.renderSubmit (game.js:35723:44) at Context.submitElement (game.js:10830:216090) at Context.flush (game.js:10830:216165) at Stage...

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

92. vivo小游戏 · LayaAir3.0文档 · LAYABOX [ 70%]

...ends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //小游戏加载分包 Laya.loader.l...

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

93. 使用LayaAirUnityPlugin_beta插件的时候在Unity预览报错 [ 70%]

...laya.d3.js:14094)     at RenderQueue._render (laya.d3.js:24125)     at Scene3D._renderScene (laya.d3.js:25463)     at Camera.render (laya.d3.js:13925)     at Scene3D.renderSubmit (laya.d3.js:25632)     at Context.submitElement (laya.core.js:9421)     at Context.flush (laya.core.js:9427) ...

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

94. 导入缩放过带有MeshCollide时出错,Cannot read property 'setLocalScaling' of undefined [ 70%]

...)     at Sprite3D.__proto._activeHierarchy (laya.core.js:13784)     at Scene3D.__proto._activeHierarchy (laya.core.js:13784)     at Scene3D.__proto._processActive (laya.core.js:13765)         附件 : --> 2019-04-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

95. LayaAir2.1.0加载unity的场景必须在游戏初始化加载吗,延迟一帧都不行,不然报异常 [ 69%]

...来自: constructor() { super();  Laya.timer.once(1,this,()=> { Laya.Scene3D.load('LayaScene_Main/Conventional/Main.ls',Laya.Handler.create(this,(scene:Laya.Scene3D)=> { Laya.stage.addChild(scene);   })); }); }   这样的加载一定包异常,不延时直接在构造函数里,执行加...

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

96. 材质动画的使用(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 69%]

...源拷贝到项目的资源目录下,那么在项目中可以直接用 `Scene3D.load()` 方法加载或预加载。 参考以下代码,因为变色太慢我们调整了速度,效果如(图1)。 ```typescript //加载场景 Laya.Scene3D.load("res/threeDimen/scene/materialScene/Conventional/...

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

97. Uncaught unknown animationClip version. [ 69%]

...复下 2019-05-01 1 0 分享 微博 QZONE 微信 Zong 赞同来自: Laya.Scene3D.load("LayaScene_scene1/Conventional/scene1.ls", Laya.Handler.create(this, function (s: Laya.Scene3D): void { var scene = s; Laya.stage.addChild(scene);         }));   加载代码 2019-03-13 0 0 分享 微博 Q...

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

98. 材质动画的使用(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 69%]

...源拷贝到项目的资源目录下,那么在项目中可以直接用 `Scene3D.load()` 方法加载或预加载。 参考以下代码,因为变色太慢我们调整了速度,效果如(图1)。 ```typescript //加载场景 Laya.Scene3D.load("res/threeDimen/scene/materialScene/Conventional/...

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

99. Cannot read property 'props' of undefined [ 69%]

...味的1.7.16到出的场景,理论上,2.0,使用就挂……   Laya.Scene3D.load("LayaScene_Map/Map.ls",Laya.Handler.create(null,function(scene){             //加载完成获取到了Scene3d             Laya.stage.addChild(scene);         })); 附件 : --> Lay...

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

100. localRotationEulerY旋转位置错误 [ 69%]

...private mat1: Laya.BlinnPhongMaterial;     private newScene: Laya.Scene3D;     private arr: any;     constructor() {         super();         this.arr = [];         this.newScene = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D;       ...

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