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

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

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

...iewport.y; this._rayViewport.width = ILaya.stage._width; this._rayViewport.height = ILaya.stage._height; Picker.calculateCursorRay(point, this._rayViewport, this._projectionMatrix, this.viewMatrix, null, out); } 参照3D-RPG项目,我们加上一段代码,当鼠标点击屏幕时,会发射一...

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

12. 开放数据域组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...开放数据域的样式和布局 let style = { container: { width: 400, height: 200, backgroundColor: "#ffffff", justifyContent: "center", alignItems: "center", }, testText: { color: "#ffffff", width: "100%", height: "100%", lineHeight: 200, fontSize: 40, textAlign: "center", }, // 文字的最终...

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