• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 83 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0071 秒)

61. laya.sprite精灵无缝拼接地图,会出现黑线跟白线,使用laya的2.0.1beta版本 [ 61%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 matter中layasprite怎么改变...

来源: Laya_社区 发布时间: 20190315

62. 从Unity中编辑并导出摄像机(ActionScript-3D基础(AS3)-LayaAir3D之Camera) [ 61%]

... ​ h:相机输出到屏幕的高度。 Depth 深度。绘图顺序。 Target Texture 目标纹理。 ### 使用代码获取导出的摄像机 ​ 那么,如果在unity中创建了摄像机并导出,在代码中加载导出文件后,我们怎么去获取摄像机呢?这可以通过场景...

来源: Laya2.0_文档 发布时间: 20210715

63. 每次发布小米快游戏,IDE都会重新自动生成main.js,之前在main。js改动的代码就丢失了 [ 60%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 预设怎么在代码中使用 ide 2.4 layaair2-cmd 编译报错 Laya mac版的IDE 是没测试就上线了吗? 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译...

来源: Laya_社区 发布时间: 20200103

64. 【LayaAir库编译问题】 [ 60%]

...hrome出现错误: Error processing launch: Error Could not attach to main target IDE1.7.8 json图集加载问题 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 关于适配采用showAll后留白部分的颜色问题 问题状态 最新...

来源: Laya_社区 发布时间: 20180712

65. 使用3D摄像机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 60%]

...Controll extends Laya.Script { @property( { type: Laya.Sprite3D } ) public target: Laya.Sprite3D; private camera: Laya.Camera; public distanceUp: number = 0.5;//相机与目标的竖直高度参数 public distanceAway: number = 10;//相机与目标的水平距离参数 public smooth: number = 2;//...

来源: Laya3.0_文档 发布时间: 20251010

66. webGL模式下 graphic画线涂鸦,一直不停画会出现线条异常 [ 59%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 使用了u3D导出来的粒子,不停的显示移除并销毁其克隆对象,统计面板的显存和内存就会显示成负数 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得...

来源: Laya_社区 发布时间: 20170831

67. 批量销毁释放内存(JavaScript-3D基础(JS)-LayaAir3D的内存管理) [ 58%]

...his._castType++; this._castType %= 2; switch (this._castType) { case 0: (e.target as Button).label = "释放显存"; this.loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (this._scene)//_scene不为空表示场景已加载完成 this.garbageCollection(); break; } /** * @pr...

来源: Laya2.0_文档 发布时间: 20210715

68. 批量销毁释放内存(ActionScript-3D基础(AS3)-LayaAir3D的内存管理) [ 57%]

...Event):void { _castType++; _castType %= 2; switch (_castType) { case 0: (e.target as Button).label = "释放显存"; loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (_scene)//_scene不为空表示场景已加载完成 garbageCollection(); break; } /** * @private 销毁场...

来源: Laya2.0_文档 发布时间: 20210715

69. 批量销毁释放内存(TypeScript-3D基础(TS)-LayaAir3D的内存管理) [ 56%]

...his._castType++; this._castType %= 2; switch (this._castType) { case 0: (e.target as Button).label = "释放显存"; this.loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (this._scene)//_scene不为空表示场景已加载完成 this.garbageCollection(); break; } /** * @pr...

来源: Laya2.0_文档 发布时间: 20210715

70. 3D变换 · LayaAir3.3 · 引擎文档 · LAYABOX [ 56%]

...换,Transform3D中还有一些其他常用的方法和属性: lookAt(target: Vector3, up: Vector3, isLocal: boolean = false, isCamera: boolean = true): void:观察目标位置。 localPosition:Vector3:局部位置。 localMatrix:Matrix4x4:局部矩阵。 position:Vector3:世界位置。 ...

来源: Laya3.0_文档 发布时间: 20251010