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

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

1. 使用3D精灵 · LayaAir3.0文档 · LAYABOX [ 100%]

...DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); this.camera = (<Laya.Camera>this.owner); } /** * 监听键盘事件 */ onUpdate(): void { var elapsedTime: number = Laya.timer.delta; if (!isNaN(this.lastMouseX) && !isNaN(this.lastMouseY) && t...

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

2. TiledMap地图 · LayaAir3.0文档 · LAYABOX [ 79%]

...DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); this.resize(); } //地图加载完成的回调 private completeHandler(e: any = null): void { this.onLoaded(); } /** * 移动地图视口 */ private mouseMove():void{ var moveX:number = this.MapX - (Laya.stage.mouse...

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

3. 3D粒子编辑模块 · LayaAir3.0文档 · LAYABOX [ 37%]

...); this.owner.addChild(particle); } //鼠标抬起后,会释放对象池 mouseUp(e: Event): void { Particle3D.ClearPool(this.filePath); } } Copyright ©Layabox 2022 all right reserved,powered by LayaAir Engine更新时间: 2024-01-17 11:15:05 img{cursor:pointer}

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