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

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

2181. 在一个矩形之上画另一个矩形,只显示一个矩形 [ 51%]

...( this.sageBox.x, this.sageBox.y, this.sageBox.width, this.sageBox.height, null, "#FFFFFF", 2); 2018-10-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Michael 赞同来自: 打印输出该矩形看一下,可...

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

2182. TypeError: ele.render is not a function [ 51%]

...ty 'props' of undefined Uncaught TypeError: Cannot read property 'load' of null 用微信开发者调试的时候出现document.createTextNode is not a function at api readFile fail callback function LayaAir新建3D示例项目,在as开发模式下,运行报错 TypeError: Vector3 is not a constr...

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

2183. 微信小游戏设置网络动态加载无法显示 [ 51%]

...AGE });  Laya.loader.load(asset,Laya.Handler.create(this,loadingCallback),null);  用Chrome调试可以显示,用Layaair调试报 [warn]Retry to load: res/atlas/bubbles.atlas [warn]Retry to load: res/atlas/game.atlas [warn]Retry to load: game/bgGame.png在微信开发工具也是无法显示 [wa...

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

2184. cannon物理引擎实战《车神决战》次留突破25% [ 51%]

...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 问题状态 最新活动: 2021-01-25 14:18 浏览: 236 关注: 1 人

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

2185. [Laya2.0beta3] 3d模型克隆后 都不显示了 [ 51%]

...rite3d layaMonkey_clone2 = scene.addChild(Sprite3D.instantiate(layaMonkey, null, false, new Vector3( -0.6, 0, 0))) as Sprite3D; 上图两种 克隆方式 2018-10-18 1 2 分享 微博 QZONE 微信 qyh 赞同来自: 这个最后是怎么解决的 同样的问题 2019-08-09 0 0 分享 微博 QZONE 微...

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

2186. macOS sierra 1.7.9 正式版 无法发布资源 [ 51%]

...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 分享:LayaAir下如何获取图集下的小图资源? 问题状态 最新活动: 2017-08-29 12:14 浏览: 701 关注: 2 人 Monica • 2017-08-29 12:23 你加下开发者交流群吧,联系下管理...

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

2187. 被遮罩的显示对象的子显示对象再添加遮罩,则子显示对象显示不正确 [ 51%]

...is.img, {x:100}, 10000).update = Laya.Handler.create(this, this.updateMsk, null, false); } private updateMsk():void { this.img.mask.graphics.clear(true); this.img.mask.graphics.drawRect(100 - this.img.x, 0, this.img.width, 300, "#ffffff"); } 附件 : --> LayaTest.rar 2019-07-22 添加评论 免费...

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

2188. 请问laya.net.Loader和laya.net.LoaderManager哪些函数支持网络资源加载,加载什么类型?哪些只支持本地资源加载 [ 51%]

...1.com/res//atlas/images.atlas", Laya.Handler.create(this, this.onLoaded2), null, Laya.Loader.ATLAS); // Laya.loader.load("map/tile_map.png");   2018-05-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron...

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

2189. IDE创建3D示例项目(ActionScript-3D基础(AS3)-快速开始一个LayaAir3D项目) [ 51%]

...new BlinnPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(null, function(tex:Texture2D):void { material.albedoTexture = tex; })); box.meshRenderer.material = material; ``` #####

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

2190. 【分享】圆形进度条上图片跟随进度并旋转角度 [ 51%]

... Handler.create(this, this.onLoaded), Handler.create(this, this.onLoading, null, false));      /** * 加载资源进度 * @param percent 百分比 */ private onLoading(percent: number): void { this.view.box_mark.graphics.drawPie(216, 216, 216, -90, (-90 + Math.floor(percent * 360)), "#ff0000"); /...

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