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

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

171. [LayaAirIDE3]xcode切入切出声音不播放 [ 24%]

...d = false;     }      /**      * 播放BGM      * @param url BGM资源路径或ID      * @param isBreak 若地址相同时是否打断当前bgm播放      * @returns      */     public playBGM(url: string | number, isBreak: boolean = true): void {         if (!url) {     ...

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

172. laya.d3.core.Camera_API3.0 [ 23%]

... Inherited from Node.url Defined in laya/display/Node.ts:67 如果节点从资源中创建,这里记录是他的url Returns string Inherited from Node.url Defined in laya/display/Node.ts:74 设置资源的URL Parameters path: string Returns void viewMatrix get viewMatrix(): Matrix4x4 Defined in la...

来源: Laya3.0_api 发布时间: 20231115

173. laya.d3.webxr.core.WebXRCamera_API3.0 [ 22%]

... Inherited from Node.url Defined in laya/display/Node.ts:67 如果节点从资源中创建,这里记录是他的url Returns string Inherited from Node.url Defined in laya/display/Node.ts:74 设置资源的URL Parameters path: string Returns void viewMatrix get viewMatrix(): Matrix4x4 Inherited fro...

来源: Laya3.0_api 发布时间: 20231115

174. laya.ui.Dialog_API3.0 [ 21%]

..."resource/ui/btn_close.png", Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { dialog = new Dialog_Instance();//创建一个 Dialog_Instance 类的实例对象 dialog。 dialog.dragArea = "0,0,150,50";//设置 dialog 的拖拽区域。 dialog.show();/...

来源: Laya3.0_api 发布时间: 20231115

175. UI-RefreshList [ 20%]

...s.initView(); })); } initView(){ // 加载并添加场景中需要使用的资源 this.baseBox = new Box(); this.baseBox.width = 443; this.baseBox.height = 622; this.baseBox.pos(30, 28); this.baseBox.bgColor = "#ffffff"; // 加载进度条 this.refreshLoading = new Box(); this.refreshLoading.pos(133...

来源: Laya2.0_示例 发布时间: 20260303

176. 2D物理系统 · LayaAir3.4 · 引擎文档 · LAYABOX [ 10%]

...擎的计算负担。因为更为精确的碰撞检测需要更多的计算资源。因此,建议仅对确实需要进行高速运动的刚体启用该属性,以避免不必要的性能开销。 2.9 刚体休眠 物理引擎进行运动模拟时,是存在性能消耗的。当刚体停止运动...

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