大约有 374 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0042 秒)
...){ var index=this._componentsMap.indexOf(type); if (index===-1) components.length=0; //这里应该返回了!!!!!!!!!! var typeComponents=this._typeComponentsIndices[index]; var count=typeComponents.length; components.length=count; for (var i=0;i < count;i++) components[i]=this._components[typeCo...
来源: Laya_社区 发布时间: 20170630
... for (var i = 0, len = toloadPics.length; i < len; i++) { if (changeType) { toloadPics = folderPath + toloadPi...
来源: Laya_社区 发布时间: 20201130
...this._components){ for (var i=0,n=this._components.length;i < n;i++){ var comp=this._components[i]; comp._setActive(true); (comp._isScript())&& (activeChangeScripts.push...
来源: Laya_社区 发布时间: 20190730
...y<any> = e.touches; if (touches && touches.length == 2) { this.preRadian = Math.atan2( touches[0].stageY - touches[1].stageY, touches[0].stageX - touches[1].stageX); ...
来源: Laya_社区 发布时间: 20171201
...间距 */ private _path_space_y: number; /** 路径长度 */ private _path_length: number; // toset: /** 路径的长度范围 */ private _path_min: number = 100; private _path_max: number = 200; /** 路径角度 */ private _path_angle: number; /** 路径弧度 */ private _path_radians: number; /*...
来源: Laya_社区 发布时间: 20180515
...eItem.sizeGrid = '0,10,0,10'; var price = this.getFishVal('10001', 3); var length = String(price).length; var w = length * 16 + 15 + 40; fish.scoreItem.width = w; fish.scoreItem.x = fish.getBox().x - fish.scoreItem.width/2; fish.scoreItem.y = fish.getBox().y - fish.scoreItem.height; this.scoreBox.ad...
来源: Laya_社区 发布时间: 20180517
...als:Laya.Material[]):Laya.CommandBuffer{ if(this.renders.length == 0 || this.materials.length == 0 ) return; var buf:Laya.CommandBuffer = new Laya.CommandBuffer(); //当需要在流程中拿摄像机渲染效果的时候...
来源: Laya_社区 发布时间: 20210203
...eItem.sizeGrid = '0,10,0,10'; var price = this.getFishVal('10001', 3); var length = String(price).length; var w = length * 16 + 15 + 40; fish.scoreItem.width = w; fish.scoreItem.x = fish.getBox().x - fish.scoreItem.width/2; fish.scoreItem.y = fish.getBox().y - fish.scoreItem.height; this.scoreBox.ad...
来源: Laya_社区 发布时间: 20180516
...eItem.sizeGrid = '0,10,0,10'; var price = this.getFishVal('10001', 3); var length = String(price).length; var w = length * 16 + 15 + 40; fish.scoreItem.width = w; fish.scoreItem.x = fish.getBox().x - fish.scoreItem.width/2; fish.scoreItem.y = fish.getBox().y - fish.scoreItem.height; this.scoreBox.ad...
来源: Laya_社区 发布时间: 20180517
...et u8 = tex.getData(0, 0, tex.width, tex.height) let u = new Uint8Array(u8.length) let len = u8.length / 4 let i = 0 for (let x = len; x >= 0; x--) { for (let y = 0; y < 4; y++) { u[i * 4 + y] = u8[x * 4 + y] } i++ } u8 = u u = new Uint8Array(u8.length) len = u8.length / s.height let l2 = len ...
来源: Laya_社区 发布时间: 20210911