大约有 375 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0043 秒)
...alyser.getByteFrequencyData(dataArray);var step:int = Math.round(dataArray.length / 60);for (var i:int = 0; i < 40; i++) {var energy:int = (dataArray[step * i] / 256.0) * 50;for (var j:int = 0; j < energy; j++) {Laya.stage.graphics.drawLine(20 * i + 2, 200 + 4 * j,20 * (i + 1) - 2, 200 + 4 * j...
来源: Laya_社区 发布时间: 20181023
...rray.push(3,1,2);//第二个三角形的顶点索引 } this.iNum = ibArray.length; this.vbData = new Float32Array(vbArray); this.ibData = new Uint16Array(ibArray); this.vBuffer.append(this.vbData); this.iBuffer.append(this.ibData); this.shaderValue = new myShaderValue(); this.shaderValue.textureHost...
来源: Laya_社区 发布时间: 20180619
...ate: Laya.AnimatorState; console.log("getANi"); for (let i = 0; i < arr.length; i++) { let arrString = arr[i].split(","); // 创建动画动作状态 state = new Laya.AnimatorState(); //设置动作状态的名称 state.name = arrString[2]; // 开始时间 state.clipStart = parseInt(arrString[0])...
来源: Laya_社区 发布时间: 20190802
...法内的下列语句:texImage2D(_args) { var args = arguments; if (args.length == 6) { if (args[5]._nativeObj) { this.add_iiiiiii(FUNCTION_ID.TEXIMAGE2D, args[0], args[1], args[2], args[3], args[4], args[5]._nativeObj.conchImgId); } else { this.add_iiiiiiiii(FUNCTION_ID.TEXIMAGE2DCANVAS, args[0],...
来源: Laya_社区 发布时间: 20200720
...了 var mesh:Laya.MeshSprite3D; for(var i =0;i<this.sprite3D._childs.length;i++){ mesh = this.sprite3D.getChildAt(i) as Laya.MeshSprite3D; mesh.meshRender.material = material; mesh.meshRender.receiveShadow = true; mesh.meshRender.castShadow = true; console.log(mesh.name) } 附件 : --> 2017-11...
来源: Laya_社区 发布时间: 20171110
... cloneTo equals forNativeElement fromArray getYawPitchRoll identity invert length lengthSquared normalize rotateX rotateY rotateZ scaling set setValue add createFromAxisAngle createFromMatrix4x4 createFromYawPitchRoll dot forwardLookAt invert lerp lookAt multiply rotationLookAt rotationMatrix slerp ...
来源: Laya3.0_api 发布时间: 20231115
... trace("addEgg"); for(var i:int = 0; i<eggLoc.length; i++) { //trace(eggLoc[i][1]+" "+eggLoc[i][0]); var yy0 = eggLoc[i][1]/2; var yy1 = parseInt(eggLo...
来源: Laya_社区 发布时间: 20170517
...t) { isExit = true; Toast.makeText(this, "在按一次退出程序", Toast.LENGTH_SHORT).show(); new Timer().schedule(new TimerTask() { @Override public void run() { // TODO Auto-generated method stub isExit = false; } },2000); } else { // MobclickAgent.onKillProcess(MainActivity.this); int pid = an...
来源: Laya_社区 发布时间: 20170811
...reset setByMatrix setColor _filter DELTA_INDEX GRAY_MATRIX IDENTITY_MATRIX LENGTH Legend Class Class with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
... setAngle() { if (!this.arr && this.arr.length < 2) return; let point1 = this.arr[0].transform.position; let point2 = this.arr[1].transform.position; let angle: number = Math.atan2((point2.x - point1...
来源: Laya_社区 发布时间: 20201120