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

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

391. MovieClip 的 bug [ 76%]

...找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: Moviclip(简称MC)的实现机制大概是这样的: 每次创建一个MC实例,然后调用MC的load方法会去加载MC设置路径关联的图集等文件信息,因为你的代码是放在...

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

392. 异步加载一个UI对象时的问题 [ 76%]

...", type: Loader.ATLAS }, { url: "view/MyView.json", type: Loader.JSON }, ] Laya.loader.load(assets, Handler.create(this, this.onLoaded)); } private onLoaded():void { this.createView(Laya.loader.getRes("view/MyView.json")); } } 因为加载是异步的,很有可能在加载过程中,用户或者...

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

393. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 76%]

...ublic Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/MeshTerrainSprite3D" MeshTerrainSprite3D Class MeshTerrainSprite3D TerrainMeshSprite3D 类用于地形节点转换普通mesh渲染。 Hierarchy MeshSprite3D MeshTerrainSprite3D Index Constructors constructor Prop...

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

394. laya.d3.terrain.TerrainRes [ 76%]

...ses | Index | Frames No Frames TerrainResProperties | Methods Packagelaya.d3.terrainClasspublic class TerrainResInheritanceTerrainRes laya.resource.Resource TerrainRes 类用于描述地形信息。 Public Properties PropertyDefined By  _alphaMaps : Vector.<String>TerrainRes  _camer...

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

395. 打包百度小游戏不能播放声音?是api不支持 还是发生了改变 或者格式问题? [ 76%]

...图红框内的修改  if (Browser.onMiniGame){ console.log(1); tSound=Laya.loader.getRes(url); } if (!soundClass)soundClass=SoundManager._soundClass; if (!tSound){ console.log(2); tSound=new soundClass(); tSound.load(url); if (Browser.onMiniGame){ Loader.cacheRes(url,tSound); } }; 2个if判...

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

396. Laya.load在OPPO小游戏端无法加载带有不安全字符的图片网址 [ 76%]

Laya.load在OPPO小游戏端无法加载带有不安全字符的图片网址 网址可以用https://lupic.cdn.bcebos.com/20191130/2004988837%2320.jpg 这个测试,使用的是OPPO官方调试器3.4.9版本,Laya引擎版本是2.7.3,不传demo了,就下面几行代码就能找到错误 let _u...

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

397. 加载不同域名下的单个图片 会重复加载两次,导致无法显示 [ 75%]

...请求A域名图片获取失败,导致图片不显示,什么原因   Laya.loader.load 方式预加载 附件 : --> 2017-09-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 方便给...

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

398. tiledMap问题,getTileProperties获取地图属性不能获取到 [ 75%]

... }         return null;     }     import { ui } from '../ui/layaMaxUI'; /**主界面 */ export default class Main extends ui.mainUI { /**地图链接 */ MAP_URL:string = 'res/tiled/map.json';  /**地图 */ map: Laya.TiledMap; constructor(){ super(); Laya.loader.create(this.MAP_URL, n...

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

399. Animation创建动画模板问题 [ 75%]

...创建吗,我通过如下方式创建会抛出异常: // 动画模版 Laya.Animation.createFrames([{ url: "res/atlas/actor/character/idle.json", type: Laya.Loader.ATLAS }], ActionType.MOVE_STAND);   异常信息如下: TypeError: url.indexOf is not a function at Function.URL.formatURL (file:/...

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

400. laya.d3.utils.Utils3D [ 75%]

...ages | All Classes | Index | Frames No Frames Utils3DMethods Packagelaya.d3.utilsClasspublic class Utils3DInheritanceUtils3D Object Utils3D 类用于创建3D工具。 Public Methods  MethodDefined By  convert3DCoordTo2DScreenCoord(source:Vector3, out:Vector3):void[static] 转换3D投影坐...

来源: laya_api 发布时间: 20170929