Freigeben über


XMUSHORT2::XMUSHORT2(uint16_t,uint16_t)-Funktion (directxpackedvector.h)

Initialisiert eine neue instance von XMUSHORT2 aus zwei uint16_t Argumenten.

Dieser Konstruktor initialisiert eine neue instance von XMUSHORT2 aus zwei uint16_t Argumenten.

Hinweis Dieser Konstruktor ist nur unter C++ verfügbar.
 

Syntax

void XMUSHORT2(
  uint16_t _x,
  uint16_t _y
) noexcept;

Parameter

_x

Wert der x-Koordinate des Vektors, des x-Elements des neuen XMUSHORT2 instance.

_y

Wert der y-Koordinate des Vektors, des y-Elements des neuen XMUSHORT2 instance.

Rückgabewert

Keine

Bemerkungen

Der folgende Pseudocode veranschaulicht den Betrieb dieses Konstruktors:


	XMUSHORT2 instance;

	instance.x = _x;
	instance.y = _y;
    

Anforderungen

   
Zielplattform Windows
Kopfzeile directxpackedvector.h

Weitere Informationen

Referenz

XMUSHORT2

XMUSHORT2-Konstruktoren