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

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

1. Laya3D初始化 window.wxMiniGame is not a function [ 100%]

Laya3D初始化 window.wxMiniGame is not a function 具体错误信息、错误发生位置、打包后libs中的min文件如下 附件 : --> 2021-12-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_A 赞...

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

2. Laya3D [ 94%]

...化Laya3D相关设置。 Laya3DConstructor DetailLaya3D()Constructorpublic function Laya3D() 创建一个 Laya3D 实例。 Method Detail_getMaterialTexturePath()method public static function _getMaterialTexturePath(path:String, urlVersion:String, materialBath:String):String private Parameters path:S...

来源: laya_api 发布时间: 20170929

3. Error!,this class[Item] already exist: function Item(){ … } [ 92%]

Error!,this class[Item] already exist: function Item(){ … } 这是什么错误 Laya.class(Item, "Item", Box); 定义的类,能不能清除,或者判断类是否存在 2018-04-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

4. Laya3D [ 92%]

...ly] 获取是否可以启用物理。 Implementation     public static function get enbalePhysics():*Constructor DetailLaya3D()Constructorpublic function Laya3D() 创建一个 Laya3D 实例。 Method Detail_cancelLoadByUrl()method public static function _cancelLoadByUrl(url:String):void private ...

来源: Laya2.0_api 发布时间: 20190513

5. Laya3D_API3.0 [ 92%]

...ya3D enablePhysics createRenderObjInit init Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static method

来源: Laya3.0_api 发布时间: 20231115

6. 高级应用-基于物理渲染 [ 89%]

...n/scene/PBRScene/Demo.ls")); scene.once(Laya.Event.HIERARCHY_LOADED, this, function () { var camera = scene.getChildByName("Camera"); camera.addComponent(CameraMoveScript); });class PBRDemo { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode...

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

7. 微信开发者工具出现错误:Laya3D init error must support webGl [ 87%]

...ptError alert is not defined ReferenceError: alert is not defined     at Function.Laya3D.init (http://127.0.0.1:38102/game/code.js:67387:4)     at new Main (http://127.0.0.1:38102/game/code.js:111146:16)     at http://127.0.0.1:38102/game/code.js:111237:1     at require (http://127.0.0.1:381...

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

8. Laya2.2问题,有没有遇到的? [ 85%]

Laya2.2问题,有没有遇到的? 子域所有代码 (function () { 'use strict';  class GameConfig { constructor() { } static init() { var reg = Laya.ClassUtils.regClass; } } GameConfig.width = 640; GameConfig.height = 1136; GameConfig.scaleMode = "fixedwidth"; GameConfig.screenMode = "none";...

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

9. 看了LayaAir引擎 HTML5 3D游戏开发基础(快速上手)以后按照示例写代码 [ 85%]

...开发基础(快速上手)以后按照示例写代码 var LayaSample=(function() { function LayaSample1() { Laya3D.init(600,400); } return LayaSample1;  }());   警告Warning!,this class[MiniAdpter] already exist: Object {init: } 运行后什么都没有白白的一片     var LayaSample=(fu...

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

10. 构建APP Android Studio打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function [ 83%]

...打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function 03-07 10:05:32.702 31653-31703/com.mihe.carrom I/LayaBox: alert=apploader.js:4515:     TypeError: this._nativeObj.addGlobalValueDefine is not a function             return this._nativeObj.addGlobalValueDefine...

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