XMUINT3::XMUINT3 (constuint32_t*) 函数 (directxmath.h)
从三元素uint32_t
数组参数初始化 XMUINT3 的新实例。
此构造函数从三元素uint32_t
数组参数初始化 XMUINT3 的新实例。
注意 此构造函数仅在 C++ 下可用。
语法
void XMUINT3(
const uint32_t *pArray
) noexcept;
参数
pArray
三元素 uint32_t 数组,其中包含用于初始化 XMUINT3 新实例的三个组件的值。
返回值
无
备注
以下伪代码演示此构造函数的操作:
XMUINT3 instance;
instance.x = pArray[0];
instance.y = pArray[1];
instance.z = pArray[2];
要求
要求 | 值 |
---|---|
目标平台 | Windows |
标头 | directxmath.h |
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈