大约有 595 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)
Laya_社区(385) Laya3.0_api(135) Laya2.0_文档(25) Laya_示例(20) Laya3.0_文档(14) Laya2.0_示例(8) laya_api(5) Laya2.0_api(3)
...5 18:47 @暮黎: Laya.Tween.to(mask, { scaleX: 0 }, that.data.effectTime * 1000,null); Laya.Tween.to( [rect, mask], { width: 0 }, that.data.effectTime * 1000, null, Laya.Handler.create(this, function() { isSceneAnimMask.destroy(); }) ); 我是这样写的,就同步了 Laya_Aaron • 2018-05-24 17:30...
来源: Laya_社区 发布时间: 20180524
...w Laya.Scene()); var camera = (this.scene.addChild(new Laya.Camera(0, 0.1, 1000))); camera.transform.translate(new Laya.Vector3(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); var directionLight = this.scene.addChild(new Laya.D...
来源: Laya_示例 发布时间: 20251130
...画 this.lightComp.lightRotation += this.rotateSpeed * Laya.timer.delta / 1000; // 实现灯光缩放动画 this.scaleTime += Laya.timer.delta / 1000 * this.scaleSpeed; const scale = 1 + Math.sin(this.scaleTime) * 0.5; // 增加缩放变化幅度 this.lightComp.lightScale.setValue(scale, scale); } }...
来源: Laya3.0_文档 发布时间: 20251010
...ya.Mesh2DRender); mesh2Drender.sharedMesh = this.generateRectVerticesAndUV(1000, 1000); mesh2Drender.lightReceive = true; } // 生成一个矩形 private generateRectVerticesAndUV(width: number, height: number): Laya.Mesh2D { const vertices = new Float32Array(4 * 5); const indices = new Uint16Array(...
来源: Laya3.0_文档 发布时间: 20251010
...显示不出来。 查看了源代码,发现自动Dialog的zorder变成1000,以及另外一个组件zorder变成1100以后,combobox的list组件zorder如果不强制修改成1100以上,将无法显示,因为层级问题。 这种源代码的问题,本来想着官方会在新版本改...
来源: Laya_社区 发布时间: 20170425
...nt); //设置打破约束的力的阈值 this.fixedConstraint.breakForce = 1000; } onUpdate() { if(this.fixedConstraint) { var mass = this.fixedConstraint.connectedBody.mass; this.fixedConstraint.connectedBody.mass = mass+1; //输出当前约束所受力 console.log(this.fixedConstraint.currentForce...
来源: Laya2.0_文档 发布时间: 20210715
...nt); //设置打破约束的力的阈值 this.fixedConstraint.breakForce = 1000; } onUpdate() { if(this.fixedConstraint) { var mass = this.fixedConstraint.connectedBody.mass; this.fixedConstraint.connectedBody.mass = mass+1; //输出当前约束所受力 console.log(this.fixedConstraint.currentForce...
来源: Laya2.0_文档 发布时间: 20210715
...nt); //设置打破约束的力的阈值 this.fixedConstraint.breakForce = 1000; } override public function onUpdate() { if(this.fixedConstraint) { var mass = this.fixedConstraint.connectedBody.mass; this.fixedConstraint.connectedBody.mass = mass+1; //输出当前约束所受力 console.log(this.fix...
来源: Laya2.0_文档 发布时间: 20210714
....shuchu();//输出这个组件num,结果为2,是LayaSample.bb的num }, 1000);已经排除了定时器的原因 2018-07-29 添加评论 已悬赏20元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 15 个回复 日新月异 赞同来自: Solomon...
来源: Laya_社区 发布时间: 20180729
... 放着不动,而且是在没逻辑的主界面,stat里的sprite数量1000个/s的速度上涨 layaair怎么实现界面跳转 问题状态 最新活动: 2018-11-02 17:21 浏览: 696 关注: 1 人
来源: Laya_社区 发布时间: 20181102