大约有 239 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0061 秒)
...dComplete(e: any = null): void { for (let i: number = 0; i < this.skins.length; ++i) { let rg: Laya.RadioGroup = this.createRadioGroup(this.skins[i]); rg.selectedIndex = i; rg.x = i * this.SPACING + this.X_OFFSET; rg.y = this.Y_OFFSET; } } private createRadioGroup(skin: string): Laya.RadioGroup {...
来源: Laya3.0_文档 发布时间: 20251016
...raph, start, end, { closest: opts.closest }); if (_everyPath && _everyPath.length > 0) { getRealPosition(start, _everyPath); } }); ``` > 通过3D世界的x,z换算出对应的网格索引,并且通过astar路径再转换为3D世界路径 ```typescript /** * 得到整数的网格索引 */ private...
来源: Laya2.0_文档 发布时间: 20210714
... 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
...,0,0,0)); //将传入的Render渲染到纹理上 for(var i = 0,n = renders.length;i<n;i++){ buf.drawRender(renders[i],materials[i],0); } //创建新的RenderTexture var subRendertexture = RenderTexture.createFromPool(viewPort.width,viewPort.height,RenderTextureFormat.R8G8B8A8,RenderTextureDepthFo...
来源: Laya3.0_文档 发布时间: 20251010
...velocity,in float age,in float normalizedAge)\n{\n\n float startVelocity = length(velocity);//起始标量速度\n float endVelocity = startVelocity * u_EndVelocity;//结束标量速度\n\n float velocityIntegral = startVelocity * normalizedAge +(endVelocity - startVelocity) * normalizedAge *normali...
来源: Laya_社区 发布时间: 20171109
...,0,0,0)); //将传入的Render渲染到纹理上 for(var i = 0,n = renders.length;i<n;i++){ buf.drawRender(renders[i],materials[i],0); } //创建新的RenderTexture var subRendertexture = RenderTexture.createFromPool(viewPort.width,viewPort.height,RenderTextureFormat.R8G8B8A8,RenderTextureDepthForma...
来源: Laya2.0_文档 发布时间: 20210715
... 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 发布时间: 20231102
...同来自: 微信里面的Function这样定义:function (){if(arguments.length>0&&"return this"===arguments[arguments.length-1])return function(){return e}} Chrome和预览里面的Function这样定义:function Function() { [native code] } 2018-03-07 0 0 分享 微博 QZONE 微信 Lay...
来源: Laya_社区 发布时间: 20180302
...y: string = keys.split(","); var assets: any = ; for(var k = 0;k<allKey.length;k++){ var key = allKey[k]; for(var j in RES.resources){ if(RES.resources[j].name == key){ assets.push(RES.resources[j]); } } } Laya.loader.load(assets,new Laya.Handler(this,function(arg){ RES.getInstance().event(RES.ON...
来源: Laya_社区 发布时间: 20161011
...; { agent.destination = pos; let paths = agent.getCurrentPath(); if (paths.length >= 2) { let points: any = [] paths.forEach((point) => { points.push(point.pos.x, point.pos.z); }); this._temp.graphics.drawLines(0, 0, points, "#00000030", 5); } }) this.hit.pos(pos.x, pos.y); } } 这样,鼠标...
来源: Laya3.0_文档 发布时间: 20251010