---
UID: NF:directxpackedvector.XMUSHORTN4.XMUSHORTN4(const XMUSHORTN4 &)
title: XMUSHORTN4::XMUSHORTN4(const XMUSHORTN4 &) (directxpackedvector.h)
description: A constructor for XMUSHORTN4.
old-location: 
tech.root: dxmath
ms.assetid: 
ms.date: 05/06/2019
ms.keywords: XMUSHORTN4, XMUSHORTN4 constructor [DirectX Math Support APIs], XMUSHORTN4 constructor [DirectX Math Support APIs],XMUSHORTN4 structure, XMUSHORTN4 structure [DirectX Math Support APIs],XMUSHORTN4 constructor, XMUSHORTN4.XMUSHORTN4, XMUSHORTN4.XMUSHORTN4(), XMUSHORTN4.XMUSHORTN4(const XMUSHORTN4 &), XMUSHORTN4::XMUSHORTN4, XMUSHORTN4::XMUSHORTN4(const XMUSHORTN4 &), dxmath.xmushortn4_ctor_1
f1_keywords:
- directxpackedvector/XMUSHORTN4.XMUSHORTN4
dev_langs:
- c++
req.header: directxpackedvector.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: 
req.target-min-winversvr: 
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: DirectX::PackedVector
req.assembly: 
req.type-library: 
req.lib: 
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- DirectXPackedVector.h
api_name:
- XMUSHORTN4.XMUSHORTN4
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# XMUSHORTN4::XMUSHORTN4(const XMUSHORTN4 &)

## -description

A constructor for <code>XMUSHORTN4</code>.

A constructor for <a href="https://docs.microsoft.com/windows/desktop/api/directxpackedvector/ns-directxpackedvector-xmushortn4">XMUSHORTN4</a>.

<div class="alert"><b>Note</b>  This constructor is only available under C++.</div>

## -parameters

### -param arg1

A value.

## -remarks

## -see-also

<a href="https://docs.microsoft.com/windows/desktop/api/directxpackedvector/ns-directxpackedvector-xmushortn4">XMUSHORTN4</a>

<a href="https://docs.microsoft.com/windows/desktop/dxmath/xmushortn4-ctor">XMUSHORTN4 Constructors</a>
