大约有 4 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0026 秒)
...el SoundChannel对象,通过此对象可以对声音进行控制,以及获取声音信息。 Static playSound playSound(url: string, loops?: number, complete?: Handler, soundClass?: {}, startTime?: number): SoundChannel Defined in laya/media/SoundManager.ts:304 播放音效。音效可以同时...
来源: Laya3.0_api 发布时间: 20231115
...ccessors duration get duration(): number Defined in laya/media/Sound.ts:31 获取总时间。 Returns number Methods dispose dispose(): void Defined in laya/media/Sound.ts:38 释放声音资源。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Define...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 canvasDegree canvasDegree: number = 0 Defined in laya/display/Stage.ts:126 画布的旋转角度。...
来源: Laya3.0_api 发布时间: 20231115