XMSHORT2 constructors

Constructors exposed by XMSHORT2.

Constructs instances of the XMSHORT2 structure.

Note

The constructors listed here are only available under C++.

 

Overload list

Constructor Description
XMSHORT2 () Default constructor for XMSHORT2.
Default constructor for XMSHORT2.
[!Note]
This constructor is only available under C++.

XMSHORT2 (float,float) Initializes a new instance of XMSHORT2 from two float arguments.
This constructor initializes a new instance of XMSHORT2 from two float arguments.
[!Note]
This constructor is only available under C++.

XMSHORT2 (const float*) Initializes a new instance of XMSHORT2 from a two element float array argument.
This constructor initializes a new instance of XMSHORT2 from a from a two element float array argument.
[!Note]
This constructor is only available under C++.

XMSHORT2 (const int16_t*) Initializes a new instance of XMSHORT2 from a two element int16_t array argument.
This constructor initializes a new instance of XMSHORT2 from a from a two element int16_t array argument.
[!Note]
This constructor is only available under C++.

XMSHORT2 (int16_t,int16_t) Initializes a new instance of XMSHORT2 from two int16_t arguments.
This constructor initializes a new instance of XMSHORT2 from two int16_t arguments.
[!Note]
This constructor is only available under C++.

See also

XMSHORT2 Extensions

Reference

XMSHORT2