大约有 1,416 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0066 秒)
Laya_社区(871) Laya2.0_文档(129) Laya3.0_api(105) Laya_示例(75) Laya2.0_api(66) laya_api(61) Laya3.0_文档(58) Laya2.0_示例(51)
...ize = 22; texArea.color = "#ffffff"; texArea.leading = 10; texArea.pos(75, 100); texArea.width = 342; texArea.height = 108; } scrollBarIsStopBind(){ return this.scrollBarIsStop; } onListMouse(e, index){ console.log(e.target.name); if (e.type == Event.MOUSE_DOWN) { this.mouseDown = true; //如果单...
来源: Laya2.0_示例 发布时间: 20251219
...适配。例如我们将left、right、top、bottom的属性值都设置为100,运行后如动图4-3所示。  (动图4-3) *Tips:拉伸适配的边距设置方式通常需要结合九宫格来实现。* #### 3.3.3 中心位置适配 中心适配常用于基于屏幕中...
来源: Laya2.0_文档 发布时间: 20210714
...适配。例如我们将left、right、top、bottom的属性值都设置为100,运行后如动图4-3所示。  (动图4-3) *Tips:拉伸适配的边距设置方式通常需要结合九宫格来实现。* #### 3.3.3 中心位置适配 中心适配常用于基于屏幕中...
来源: Laya2.0_文档 发布时间: 20210715
...适配。例如我们将left、right、top、bottom的属性值都设置为100,运行后如动图4-3所示。  (动图4-3) *Tips:拉伸适配的边距设置方式通常需要结合九宫格来实现。* #### 3.3.3 中心位置适配 中心适配常用于基于屏幕中...
来源: Laya2.0_文档 发布时间: 20210714
...化照相机 var camera = this.newScene.addChild(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; camera.transform.rotationEuler = new Laya.Vector3(-32, -75, 0); camera.transform.position =new Laya.Vector3(-8.2, 5.3, 2.2); var modelViewer = camera.addComponent(ModelViewer); modelViewer.AroundPos = plan...
来源: Laya_社区 发布时间: 20170714
... uniformMap:{ u_Number: { type: Float, default:0, alias:"数字", range:[0,100], fractionDigits: 2 } }, 如果细节较多,为了uniformMap的简洁性,可以将这些细节移到styles: uniformMap:{ u_Number: { type: Float, default:0 } }, styles: { u_Number: { caption:"数字", range:[0,100],...
来源: Laya3.0_文档 发布时间: 20251010
...s.fillText("fillText:引擎绘制的文本,适合简单的单行文本", 100, 300, " 60px simHei ", "#ff0000", "left"); } 在Text与Label中,font仅仅是指系统字体,例如该文本是Microsoft YaHei还是Arial,选择或者输入对应的字体就可以。而fillText中,font是字体...
来源: Laya3.0_文档 发布时间: 20251010
...化照相机 var camera = this.newScene.addChild(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; camera.transform.rotationEuler = new Laya.Vector3(-32, -75, 0); camera.transform.position =new Laya.Vector3(-8.2, 5.3, 2.2); var modelViewer = camera.addComponent(ModelViewer); modelViewer.AroundPos = plan...
来源: Laya_社区 发布时间: 20190224
... 0; private nextHeartbeatTimeout:number = 0; private gapThreshold:number = 100; private heartbeatId:any = null; private heartbeatTimeoutId:any = null; private handshakeCallback:any = null; private handshakeBuffer:any; private initCallback:Function = null; private _callbacks:any = {}; private reqId:n...
来源: Laya_社区 发布时间: 20180119
... now, speed) => { console.log(`downloading:${Math.floor((now / total) * 100)}`) return false;0 }, (curlret, httpret) => { if (curlret != 0 || httpret < 200 || httpret >= 300) { resolve(null); } else { resolve(localfile); } }, 10, 100000000); } ); } let zipfile = await downloadBigZip('htt...
来源: Laya3.0_文档 发布时间: 20251010