XGameUiTextEntryExtents
描述虚拟键盘的相对定位。
语法
struct XGameUiTextEntryExtents {
float left;
float top;
float right;
float bottom;
}
成员
左侧 类型:float
虚拟键盘左侧的相对位置。 该值介于 0.0f 和 1.0f 之间,表示屏幕的百分比。
顶部 类型:float
虚拟键盘顶部的相对位置。 该值介于 0.0f 和 1.0f 之间,表示屏幕的百分比。
右侧 类型:float
虚拟键盘右侧的相对位置。 该值介于 0.0f 和 1.0f 之间,表示屏幕的百分比。
底部 类型:float
虚拟键盘底部的相对位置。 该值介于 0.0f 和 1.0f 之间,表示屏幕的百分比。
要求
头文件: XGameUI.h
支持平台:Windows、Xbox One 系列主机和 Xbox Series 主机