Skip to main content

XGameUiTextEntryExtents

描述虚拟键盘的相对定位。

语法

成员

left 类型:float 虚拟键盘左侧的相对位置。该值介于 0.0f 到 1.0f 之间,表示屏幕的百分比。 top 类型:float 虚拟键盘顶部的相对位置。该值介于 0.0f 到 1.0f 之间,表示屏幕的百分比。 right 类型:float 虚拟键盘右侧的相对位置。该值介于 0.0f 到 1.0f 之间,表示屏幕的百分比。 bottom 类型:float 虚拟键盘底部的相对位置。该值介于 0.0f 到 1.0f 之间,表示屏幕的百分比。

要求

标头: XGameUI.h 支持的平台: Windows、XBOX One 系列主机和 XBOX Series 主机

请参阅

XGameUI
XGameUiTextEntryGetExtents
最后修改于 2026年8月24日