大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0102 秒)
Laya_社区(3330) Laya2.0_文档(296) Laya_示例(141) Laya3.0_文档(118) Laya2.0_示例(117) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...的逻辑代码。如下,我启动了3个任务。 Laya.timer.loop(delay,this,onLoop,[param1]); Laya.timer.loop(delay,this,onLoop,[param2]); Laya.timer.loop(delay,this,onLoop,[param3]); 在条件满足后清理定时器,目前只有如下接口 Laya.timer.clear(this,onLoop); 导致的问题:...
来源: Laya_社区 发布时间: 20171107
laya.webgl.js调用_repaintSprite(),方法内部this.sprite为null 使用的引擎库文件是1.7.10版本 附件 : --> 2017-09-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自...
来源: Laya_社区 发布时间: 20170920
...颜色 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
...请: 与内容相关的链接 提交 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.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
...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
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