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

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

1. LOD组 · LayaAir3.0文档 · LAYABOX [ 100%]

... 2.3 Renders 图2-5 Renders渲染器实际上是该LOD层级保存网格的Sprite3D对象。通常情况下这是具有LOD 组件的Sprite3D对象的子对象 Renders渲染器可以添加多个渲染对象在同一个LOD层级可以渲染多个对象 3.导入LOD网格(实验性) 在美术软件...

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

2. 层级面板说明 · LayaAir3.0文档 · LAYABOX [ 95%]

...层级面板的通用操作 2.1 创建节点 可以创建的3D节点有: Sprite3D(这是一个空节点); 基础3D节点(Cube、Sphere、Cylinder、Capsule、Cone、Plane); 特效(Particle3D、PixelLine、Trail); 灯光(DirectionLight、PointLight、SpotLight、AreaLight); ...

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

3. 开放数据域组件 · LayaAir3.0文档 · LAYABOX [ 83%]

...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.OpenDataContextView }) public opendata: Laya.OpenDataContextView; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行...

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

4. 音频节点 · LayaAir3.0文档 · LAYABOX [ 81%]

...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.SoundNode }) public sound: Laya.SoundNode; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): vo...

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

5. 3D基础显示对象 · LayaAir3.0文档 · LAYABOX [ 81%]

...用于创建简单网格 注意:这里还不是最终场景中看到的 Sprite3D。 用 createBox 来举例,看下API是如何创建网格的: /** * 创建Box网格。 * @param long 半径 * @param height 垂直层数 * @param width 水平层数 * @return */ static createBox(long: number = 1, ...

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

6. IDE快捷键与鼠标交互操作大全 · LayaAir3.0文档 · LAYABOX [ 78%]

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

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

7. 动画节点 · LayaAir3.0文档 · LAYABOX [ 74%]

...lass() export class Animation extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Animation }) //在IDE面板中显示属性 ani: Laya.Animation; constructor() { super(); } //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次...

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

8. 视频节点 · LayaAir3.0文档 · LAYABOX [ 67%]

...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { let video = new Laya.VideoNode; //添加到舞台 Laya.stage....

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

9. 精灵 · LayaAir3.0文档 · LAYABOX [ 63%]

...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Sprite }) public sprite1: Laya.Sprite; @property({ type: Laya.Sprite }) public sprite2: Laya.Sprite; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均...

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

10. 属性设置面板说明 · LayaAir3.0文档 · LAYABOX [ 61%]

...。 (动图2-4) 2.1.2 3D节点 静态: 在游戏场景中,每一个Sprite3D都有静态或者动态的两种状态,当一个物体标记为静态后,就确保这个物体在游戏场景中为静态的、不会移动的物体,进而在游戏的运行过程中让游戏有更加流畅的...

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