XMINT3::XMINT3 (int32_t,int32_t,int32_t) 函式 (directxmath.h)
從三 int32_t
個引數初始化 的新實例 XMINT3
。
這個建構函式會從三 int32_t
個引數初始化XMINT3的新實例。
注意 此建構函式只能在 C++ 下使用。
語法
void XMINT3(
int32_t _x,
int32_t _y,
int32_t _z
) noexcept;
參數
_x
要儲存在 x 元件中的值, (新實例 XMINT3
的x成員) 。
_y
要儲存在 y 元件中的值, (新實例 XMINT3
的y成員) 。
_z
要儲存在 z 元件中的值, (新實例 XMINT3
的z成員) 。
傳回值
無
備註
下列虛擬程式碼示範此建構函式的作業:
XMINT3 instance;
instance.x = _x;
instance.y = _y;
instance.z = _z;
規格需求
目標平臺 | Windows |
標頭 | directxmath.h |
另請參閱
參考