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

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

291. laya.display.Scene [ 58%]

... All Classes | Index | Frames No Frames SceneProperties | Methods | Events Packagelaya.displayClasspublic class SceneInheritanceScene Sprite Node EventDispatcher Object 场景类,负责场景创建,加载,销毁等功能 场景被从节点移除后,并不会被自动垃圾机制回...

来源: Laya2.0_api 发布时间: 20190513

292. 引擎中的修改意见 [ 58%]

...}else if(a.length == 1){ lang(a[0]); }else { lang(""); } isChanged = true; event(Event.CHANGE); } }public function lang(text:String, args:Array = null):void { text = langPacks && langPacks[text] ? langPacks[text] : text; if (!args || args.length <= 0) { this._text = text; } else { for (va...

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

293. 请引擎开发人员不要在用这种写法了 [ 58%]

...et property 'skin' of null at ProgressBar._skinLoaded (laya.ui.js:3741) at EventHandler.runWith (laya.core.js:998) at ResInfo.event (laya.core.js:1039) at LoaderManager._endLoad (laya.core.js:19366) at Loader.onLoaded (laya.core.js:19335) at EventHandler.runWith (laya.core.js:998) at Loader.event (l...

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

294. laya.d3.core.light.PointLight [ 58%]

... Classes | Index | Frames No Frames PointLightProperties | Methods | Events Packagelaya.d3.core.lightClasspublic class PointLightInheritancePointLight LightSprite Sprite3D Node EventDispatcher Object PointLight 类用于创建点光。 Public Properties Hide Inherited Public Properties Show I...

来源: Laya2.0_api 发布时间: 20190513

295. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 58%]

...过程,因此建立连接后,通常要注册以下事件监听器: Event.OPEN:连接成功建立后触发。 Event.MESSAGE:收到服务器发送的数据时触发。 Event.CLOSE:连接关闭时触发。 Event.ERROR:连接出错时触发。 示例代码: // 注册事件监听示例 th...

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

296. 高级应用-寻路导航 [ 57%]

...orm.rotate(new Laya.Vector3(-45, 180, 0), true, false); Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { this.index = 0; //获取每次生成路径 this._everyPath = pathFingding.findPath(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this...

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

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

...tor3.distance(this.transform.position, this.AroundPos); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.mouseWheel) } onUpd...

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

298. laya.media.SoundChannel [ 57%]

...ds Packagelaya.mediaClasspublic class SoundChannelInheritanceSoundChannel EventDispatcher Object SoundChannel 用来控制程序中的声音。每个声音均分配给一个声道,而且应用程序可以具有混合在一起的多个声道。 SoundChannel 类包含控制声音的播放、暂停...

来源: laya_api 发布时间: 20170929

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

...tor3.distance(this.transform.position, this.AroundPos); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.mouseWheel) } onUpd...

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

300. laya.d3.terrain.Terrain [ 57%]

...All Classes | Index | Frames No Frames TerrainProperties | Methods | Events Packagelaya.d3.terrainClasspublic class TerrainInheritanceTerrain Sprite3D Node EventDispatcher Object Terrain 类用于创建地块。 Public Properties Hide Inherited Public Properties Show Inherited Public Properti...

来源: Laya2.0_api 发布时间: 20190513