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

大约有 1,725 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0057 秒)

1651. TS项目中怎么使用promise [ 29%]

...运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'No...

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

1652. 射线检测-放置物体 [ 29%]

... Laya.Vector3(1, -1, -1); //平面 var plane = scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(6, 6, 10, 10))); var planeMat = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, ...

来源: Laya_示例 发布时间: 20250227

1653. 显存优化:纹理压缩的使用(TypeScript-2D进阶篇(TS)-性能优化) [ 28%]

...e3D)导出的时候被转换导出了。这种纹理需要采用预设(Sprite3D)分别导出,单独加载使用。 #### 2.2.2 LayaAirIDE纹理压缩功能 LayaAirIDE中依次点击 菜单 ->> 工具 ->> 纹理图片转换,可以打开图3所示界面。 ![图3](img/3.png) (图3) 由于...

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

1654. 关于使用Idea以及Linux下使用AS语言开发的一点经验 [ 28%]

...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mas...

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

1655. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 28%]

...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComp...

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

1656. 射线检测-点击行走 [ 26%]

... Laya.Vector3(1, -1, -1); //平面 var plane = scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(6, 6, 10, 10))); var planeMat = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, ...

来源: Laya_示例 发布时间: 20250227

1657. IDE快捷键与鼠标交互操作大全 · LayaAir3.3 · 引擎文档 · LAYABOX [ 26%]

...空父节点 Ctrl + shift + G 2D的空节点是Sprite,3D的空节点是Sprite3D 1.3.2 展开全部子节点:Alt + 鼠标左键单击 正展情况下,单击节点前的三角箭头,会展开一层子节点。 当使用 Alt + 鼠标左键单击 的组合功能键后,可直接展开其下的...

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

1658. 3D中摄像机绕物体旋转该如何实现? [ 25%]

...sform: Transform3D; onStart(): void { this.transform = (this.owner as Laya.Sprite3D).transform; this.CurrentAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); this.targetAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); t...

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

1659. 官方案例里摄像机绕物体旋转脚本的问题 [ 25%]

...sform: Transform3D; onStart(): void { this.transform = (this.owner as Laya.Sprite3D).transform; this.CurrentAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); this.targetAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); t...

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

1660. 射线检测-选取物体 [ 24%]

... Laya.Vector3(1, -1, -1); //平面 var plane = scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(6, 6, 10, 10))); var planeMat = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, ...

来源: Laya_示例 发布时间: 20250227