大约有 797 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0079 秒)
Laya_社区(443) Laya3.0_api(103) Laya2.0_api(58) laya_api(54) Laya2.0_文档(49) Laya_示例(39) Laya2.0_示例(33) Laya3.0_文档(18)
... a.b = "2"; trace(a); var arr:Array = []; arr.push(a); trace(arr); } } } internal class TestData { public var a:int; public var b:String; public funct...
来源: Laya_社区 发布时间: 20171215
...sets/AStarMap.png"); //通过遮挡图生成astar网格数据 var aStarArr:Array = createGridFromAStarMap(aStarMap); //使用astar组织数据 graph = new Browser.window.Graph(aStarArr); opts = {}; opts.closest = true; opts.heuristic = Browser.window.astar.heuristics.diagonal; ...... } ``` > 通过...
来源: Laya2.0_文档 发布时间: 20210714
... 个项目(排列成 4 x 5 矩阵)组成的数组,红色 var redMat: Array = [ 1, 0, 0, 0, 0, //R 0, 0, 0, 0, 0, //G 0, 0, 0, 0, 0, //B 0, 0, 0, 1, 0, //A ]; //创建一个颜色滤镜对象,红色 var redFilter: ColorFilter = new ColorFilter(redMat); // 赤化猩猩 var redApe: Sprite = this....
来源: Laya_示例 发布时间: 20260818
... //创建iframe document.body.appendChild(iframe); //添加到body中 xArray = window.frames[window.frames.length-1].Array; var arr = new xArray(1,2,3); // 声明数组[1,2,3] alert(arr instanceof Array); // false alert(arr.constructor === Array); // false 2017-11-02 0 0 分享 微博...
来源: Laya_社区 发布时间: 20170328
...onstructors constructor new HeightfieldTerrainShape(heightfieldData: Uint16Array | Float32Array | Uint8Array, heightStickWidth: number, heightStickLength: number, minHeight: number, maxHeight: number, heightScale: number): HeightfieldTerrainShape Overrides ColliderShape.constructor Defined in laya/d...
来源: Laya3.0_api 发布时间: 20231115
...{ vdata.push({name:{text:'gggg'}}); //压入三个view对象 } this.lister.array = vdata; this.lister.vScrollBarSkin = ""; this.lister.scrollBar.hide = true; 整体UI结构: VIEW -----list --------view -------------label 2017-06-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20170626
... 135*****305 public static function create(caller:*, method:Function, args:Array = null, once:Boolean = true):Handler { if (_pool.length) return _pool.pop().setTo(caller, method, args, once); return new Handler(caller, method, args, once); ...
来源: Laya_社区 发布时间: 20180621
...个list }, _render_bigList: function (cell, idx) { var data = this.bigList.array; if (idx >= data.length) { return; } cell.removeChildren(); var root = cell.getChildByName('root'); if (!root) { root = new Sprite(); root.pos(0, 0); root.name = "root"; cell.addChild(root); } 。。。。。 生成...
来源: Laya_社区 发布时间: 20170324
...e 是否可读。 Returns IndexBuffer3D Properties _buffer _buffer: Float32Array | Uint16Array | Uint8Array | Uint32Array Inherited from Buffer._buffer Defined in laya/RenderEngine/Buffer.ts:8 _bufferType _bufferType: number Inherited from Buffer._bufferType Defined in laya/RenderEngine/Buffer.ts:10...
来源: Laya3.0_api 发布时间: 20231115
... //异步加载资源 var urls:Array = []; for (var dir:int = 0 ; dir < 8; dir ++) { for (var i:int = 0 ; i < 4 ; i ++) { ...
来源: Laya_社区 发布时间: 20170921