大约有 4,034 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0079 秒)
Laya_社区(3264) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(107) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来自: this.ist.scrollBar.min = 1;//设置滚动条的最小值 this.ist.scrollBar.max = 1000;//设置滚动条的最大值 this.ist.scrollBar.value = 1000;//设置滚动条当前值 this.ist.scrollBar.touchScrollEnable = false ;/...
来源: Laya_社区 发布时间: 20180426
...颜色 Laya.stage.bgColor = "#232628"; //帧循环 Laya.timer.frameLoop(1, this, onFrame); this.createTime = 0; function onFrame() { //如果创建对象时间为100帧间隔后 if (this.createTime >= 100) { //每200帧间隔创建30个雪花 for (var i = 0; i 640 + 20 || img1.scaleX 在一些特殊...
来源: Laya2.0_文档 发布时间: 20210715
... Laya.init(500, 300, WebGL); this.drawSomething(); } private drawSomething(): void { this.sp = new Sprite(); Laya.stage.addChild(this.sp); /...
来源: Laya2.0_文档 发布时间: 20210715
...刚体 ```typescript //创建盒型MeshSprite3D var box: MeshSprite3D = (this.scene.addChild(new MeshSprite3D(PrimitiveMesh.createBox(1, 1, 1)))); //设置材质 var transform: Transform3D = box.transform; var pos: Vector3 = transform.position; pos.setValue(0, 5, 0); transform.position = pos; //创...
来源: Laya2.0_文档 发布时间: 20210715
...刚体 ```typescript //创建盒型MeshSprite3D var box: MeshSprite3D = (this.scene.addChild(new MeshSprite3D(PrimitiveMesh.createBox(1, 1, 1)))); //设置材质 var transform: Transform3D = box.transform; var pos: Vector3 = transform.position; pos.setValue(0, 5, 0); transform.position = pos; //创...
来源: Laya2.0_文档 发布时间: 20210715
box的runtime类里可以写this.addChild();方法吗? 如题。 2017-11-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 ymsdandan 赞同来自: 这个是没有的 2017-11-13 0 0 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20171113
报错 Warning!,this class[HBox] already exist: 附件 : --> 2017-11-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 wudi199553 赞同来自: 你这是重名了,所以报错 2017-11-03 0 2 分享 微博 QZ...
来源: Laya_社区 发布时间: 20171103
...s文件,先来看看入口函数start()[code] start() { return __awaiter(this, void 0, void 0, function* () { let json = JSON.parse(fs.readFileSync("outConfig.json")); this.BaseURL = emiter_1.emiter.BaseURL = json.from; this.outfile = json.out; this.createAS = json.createAS; this.layajsURL = json....
来源: Laya_社区 发布时间: 20200925
... pivotToCenter, 并且 setMouseDownHandler: function (context, handler) { this.on(this.EVENT.MOUSE_DOWN, context, handler); }, setMoveHandler: function (context, handler) { this.on(this.EVENT.MOUSE_MOVE, context, handler); }, setMouseUpHandler: function (context, handler) { this.on(this.EVENT.MOUSE_...
来源: Laya_社区 发布时间: 20170316
...,错误信息:" + message); // }; // Game.inst.start(); setInterval( this.addball.bind( this ),500); } public addball(){ for( let i:number = 0 ; i < 6; i++){ let ball = this.getObj(); ball.x = (i%6) *150 ball.y = -200 Laya.Tween.to( ball,{y: 1500 } ,5000,Laya.Ease.linearOut,Laya.Handler.creat...
来源: Laya_社区 发布时间: 20180226