大约有 375 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0045 秒)
...大家好,这是websocket通信!"); console.log("str.length*2:" + str.length*2); var b = new ArrayBuffer(20 + str.length*2); var dv = new DataView(b, 0); dv.setUint16(0, str.length*2, false); dv.setUint16(2...
来源: Laya_社区 发布时间: 20170628
...){ 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