版本
menu

Wwise SDK 2024.1.6
ak.wwise.ui.layout.getElementRectangle

Retrieves the current allocated rectangle of a layout element. An empty rect is returned if the element is not found.

Arguments

名称 类型 说明
id * string The ID of the element.

(必填 *)

参数架构

Result

名称 类型 说明
left number The left position of the element.
top number The top position of the element.
right number The right position of the element.
bottom number The bottom position of the element.

结果架构

示例

有关 Wwise Authoring API 的详细信息,请参阅 使用 Wwise Authoring API(WAAPI) 章节。


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅