Bagikan melalui


XMUSHORT2.XMUSHORT2(const uint16_t*) constructor

Initializes a new instance of XMUSHORT2 from an array of uint16_t arguments.

This constructor initializes a new instance of XMUSHORT2 from an array of uint16_t arguments.

Note  This constructor is only available under C++.

 

Syntax

XMUSHORT2(
   const uint16_t *pArray
);

Parameters

  • pArray
    An array containing the x and y values of the new XMUSHORT2.

Requirements

Namespace

Use DirectX.

Header

DirectXMath.h

See also

XMUSHORT2 Constructors

Reference

XMUSHORT2