大约有 3,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
Laya_社区(2682) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) Laya3.0_文档(104) laya_api(98) Laya_示例(83) Laya2.0_示例(45)
...aya.Trail2DRender.defaultTrail2DMaterial = new Laya.Material(); mat.lock = true;//加上这行 防止Laya.Scene.gc 释放掉 .... } 2025-06-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 layabox 赞...
来源: Laya_社区 发布时间: 20250630
...s:94 清空绘制命令。 Parameters Default value recoverCmds: boolean = true 是否回收绘图指令数组,设置为true,则对指令数组进行回收以节省内存开销,建议设置为true进行回收,但如果手动引用了数组,不建议回收 Returns void clipRect clipRect(x: ...
来源: Laya3.0_api 发布时间: 20231115
...** *@inheritDoc */ override public function destroy(destroyChild:Boolean = true):void { super.destroy(destroyChild); _proMask && _proMask.destroy(_proMask); _progress && _progress.destroy(destroyChild); _proMask = null; _progress = null; } /** * 进度条皮肤。 * @return */ public...
来源: Laya_社区 发布时间: 20170327
...mponent(Laya.Rigidbody3D); //创建球形碰撞器 rigidBody.isKinematic = true; //设置可以与其发生碰撞的碰撞组 rigidBody.canCollideWith = Laya.Physics3DUtils.COLLISIONFILTERGROUP_CUSTOMFILTER1 | Laya.Physics3DUtils.COLLISIONFILTERGROUP_CUSTOMFILTER3 | Laya.Physics3DUtils.COLLISIONFILT...
来源: Laya2.0_文档 发布时间: 20210715
...addComponent(Rigidbody3D); //创建球形碰撞器 rigidBody.isKinematic = true; //设置可以与其发生碰撞的碰撞组 rigidBody.canCollideWith = Physics3DUtils.COLLISIONFILTERGROUP_CUSTOMFILTER1 | Physics3DUtils.COLLISIONFILTERGROUP_CUSTOMFILTER3 | Physics3DUtils.COLLISIONFILTERGROUP_CUSTOMF...
来源: Laya2.0_文档 发布时间: 20210715
...seResource'] = function() { if (this._glBuffer) { this._glBuffer.deleted = true; } $bufferDisposeResource.call(this); } 以上~欢迎交流,敬请指正 2020-07-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...
来源: Laya_社区 发布时间: 20200708
...oading_array, 'loading') this.fly = new Laya.Animation(); this.fly.play(0, true, 'loading') this.bounds = this.fly.getGraphicBounds(); this.fly.pivot(this.bounds.width / 2, this.bounds.height / 2); this.fly.pos(Laya.stage.width / 2, Laya.stage.height / 2); this.diango.addChild(this.fly) this.diango....
来源: Laya_社区 发布时间: 20171107
...ollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 开启CastShadow以后,模型会莫名其妙消失,物体渲染队列的_IndexInList会被破坏 把摄像机添加到一个物体上,然后绕着这个物体旋转 打包QQ小游戏,rayCast发出的...
来源: Laya_社区 发布时间: 20171109
...b:Sprite = new Sprite(); b.graphics.drawTexture(texture); a.graphics.clear(true); a.destroy(); a = b; } a.graphics.drawRect(10*i, 10*j, 10, 10, "#ff0000"); count++; } } 2018-11-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20181113
...描边为5像素 txt.strokeColor = '#FFFFFF'; //设置为粗体 txt.bold = true; //设置文本的显示起点位置X,Y txt.pos(60, 100); //设置舞台背景色 Laya.stage.bgColor = '#23238E'; //将文本内容添加到舞台 Laya.stage.addChild(txt); } } } 2. 修改.as3proj文件相应标签如...
来源: Laya_社区 发布时间: 20180914