大约有 176 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0065 秒)
Laya_社区(107) Laya3.0_文档(40) Laya2.0_文档(23) Laya3.0_api(3) laya_api(1) Laya2.0_示例(1) Laya2.0_api(1)
...d = false; } /** * 播放BGM * @param url BGM资源路径或ID * @param isBreak 若地址相同时是否打断当前bgm播放 * @returns */ public playBGM(url: string | number, isBreak: boolean = true): void { if (!url) { ...
来源: Laya_社区 发布时间: 20250930
... 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
... 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
..."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
...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
...擎的计算负担。因为更为精确的碰撞检测需要更多的计算资源。因此,建议仅对确实需要进行高速运动的刚体启用该属性,以避免不必要的性能开销。 2.9 刚体休眠 物理引擎进行运动模拟时,是存在性能消耗的。当刚体停止运动...
来源: Laya3.0_文档 发布时间: 20251010