大约有 831 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0056 秒)
Laya_社区(671) Laya2.0_文档(61) Laya_示例(34) Laya3.0_文档(31) Laya2.0_示例(30) Laya3.0_api(3) Laya2.0_api(1)
...sh.getPositions(positions); var indices = mesh.getSubMesh(0).getIndices(); for (var i: number = 0; i < indices.length; i += 3) { var vertex0: Laya.Vector3 = positions[indices[i]]; var vertex1: Laya.Vector3 = positions[indices[i + 1]]; var vertex2: Laya.Vector3 = positions[indices[i + 2]]; Laya.Ve...
来源: Laya3.0_文档 发布时间: 20251010
...aweb/v1.0.0/res/atlas/comp.atlas: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. Access to Image at 'file:///Users/dongxiang/Documents/saolei/release/layaweb/v1.0.0/comp/classic_numbers_8.png' from origin 'null' has been blocked by CORS po...
来源: Laya_社区 发布时间: 20180315
...Loader.loadedMap,最后结果都是一样的。测试代码如下 for (var path of depPath) { var dPath: string = "res/" + path; // var resource: Laya.Resource = Laya.loader.getRes(dPath); // if ...
来源: Laya_社区 发布时间: 20180320
...collisionActive', this.onCollision); private onCollision(event): void { for(var i = 0; i < event.pairs.length; i++) { var pair = event.pairs[i]; if(pair.bodyA.label === 'gun' && pair.bodyB.label == "gameover") { this.onGameOver(); } } } private onGameOver(): void { console.log...
来源: Laya_社区 发布时间: 20180524
...一帧的索引值, */ function aniUrls(aniName,length){ var urls = []; for(var i = 0;i<length;i++){ //动画资源路径要和动画图集打包前的资源命名对应起来 urls.push("role/"+aniName+i+".png"); } return urls; } ``` 代码运行效果如动图9所示,只播放了图集中设置...
来源: Laya2.0_文档 发布时间: 20210715
...而且.rec文件总是只有0 The precede value represent a timestamp is for atlas packing.这个内容 2017-09-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 方便提供个例子我...
来源: Laya_社区 发布时间: 20170905
...一大堆报错是怎么回事? 我是新手,刚下载使用LayaAirIDE for mac 1.7.6。 用LayaAirIDE 创建新项目,选择AS3项目,创建完成后,编辑器一大堆报错。可是又好像不影响运行,请问这是怎么回事? 看了下,貌似是找不到flash包里的类导...
来源: Laya_社区 发布时间: 20170630
...ist on type 'typeof Laya' Spine 格式转换, Error: Invalid timeline type for a slot:twoColor XmlDom类没有了?解析xml时,报错Property 'attributes' does not exist on type 'Node & ChildNode'. 读URL parameter textinput(type=password)手机打开华为安全键盘后,无法关闭(官网...
来源: Laya_社区 发布时间: 20190422
...错误 Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted. 附件 : --> 2017-03-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 ...
来源: Laya_社区 发布时间: 20170308
...of Array && function(d, b) { d.__proto__ = b } || function(d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p] } ; return function(d, b) { extendStatics(d, b); function __() { this.constructor = d } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __) ...
来源: Laya_社区 发布时间: 20171212