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