大约有 585 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0051 秒)
Laya_社区(436) Laya2.0_文档(39) Laya_示例(27) Laya3.0_api(24) Laya3.0_文档(22) Laya2.0_示例(21) Laya2.0_api(10) laya_api(6)
...onstrate <output.writeByte>"; for (var i: number = 0; i < message.length; ++i) { // 直接写缓冲区中的数据 this.output.writeByte(message.charCodeAt(i)); } // 发送缓冲区中的数据到服务器 this.socket.flush(); } // 连接断开后的事件回调 private onSocketClose(e: any...
来源: Laya3.0_文档 发布时间: 20241014
...W UnitX UnitY UnitZ ZERO Accessors w x y z Methods clone cloneTo fromArray length lengthSquared Clamp add distance distanceSquared dot equals lerp max min multiply normalize scale subtract transformByM4x4 Constructors constructor new ConchVector4(x?: number, y?: number, z?: number, w?: number): Conc...
来源: Laya3.0_api 发布时间: 20231102
... 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
...iner); nextStep(); })(); function nextStep() { if (guideStep == guideSteps.length) { Laya.stage.removeChild(guideContainer); Laya.stage.removeChild(tipContainer); } else { var step = guideSteps[guideStep++]; hitArea.unHit.clear(); hitArea.unHit.drawCircle(step.x, step.y, step.radius, "#000000"); int...
来源: Laya_示例 发布时间: 20241125
...id { let uiResArray = []; let muduleName; for (let index = 0, len = mNames.length; index < len; index++) { muduleName = mNames[index]; uiResArray.push({ url: bigao.Utils.StringTool.formatString(ResUIModuleManager.moduleResPath, muduleName), type: Laya.Loader.ATLAS }); } Laya.loader.load(uiResArra...
来源: Laya_社区 发布时间: 20170905
...d(arr, 3); var path:Array = astart1.findPath(0, 0, 3, 2, grid); trace(path.length + "_____" + path.toString()); var path1:Array = astart1.findPath(0, 0, 3, 2, grid); trace(path1.length + "_____" + path1.toString()); -------------------------------------输出---------------------...
来源: Laya_社区 发布时间: 20161221
...ipContainer); this.nextStep(); } nextStep() { if (guideStep === guideSteps.length) { Laya.stage.removeChild(guideContainer); Laya.stage.removeChild(tipContainer); return; } let step = guideSteps[guideStep++]; hitArea.unHit.clear(); hitArea.unHit.drawCircle(step.x, step.y, step.radius, "#000000"); in...
来源: Laya2.0_示例 发布时间: 20241125
... } private onLoadComplete(): void { for (var i: number = 0; i < this.skins.length; ++i) { var input: TextInput = this.createInput(this.skins[i]); input.prompt = 'Type:'; input.x = (Laya.stage.width - input.width) / 2; input.y = i * this.SPACING + this.Y_OFFSET; } } private createInput(skin: string):...
来源: Laya_示例 发布时间: 20241125
...r); else this._inActiveHierarchy(arr, fromSetter); for (let i = 0, n = arr.length; i < n; i++) { let comp = arr[i]; comp.owner && comp._setActive(active); } arr.length = 0; } 无名玩家X • 2023-10-10 20:22 呃...也不用反复强调你们没问题... 感谢大佬科普,但是"on...
来源: Laya_社区 发布时间: 20231007
...uv_info.zw - vec2(0.5,0.5))*256.0;\ float radius = length(pos.xy);\ float angle = -degrees(atan(pos.x, pos.y)) + 180.0;\ float fa = radians(angle - progress * 360.0) * radius + 1.0;\ fa = clamp(fa, 0.0, 1...
来源: Laya_社区 发布时间: 20170606