---
UID: NF:directxpackedvector.XMSHORTN4.XMSHORTN4(uint64_t)
title: XMSHORTN4::XMSHORTN4(uint64_t) (directxpackedvector.h)
description: A constructor for XMSHORTN4.
old-location: 
tech.root: dxmath
ms.assetid: 
ms.date: 05/06/2019
ms.keywords: XMSHORTN4, XMSHORTN4 constructor [DirectX Math Support APIs], XMSHORTN4 constructor [DirectX Math Support APIs],XMSHORTN4 structure, XMSHORTN4 structure [DirectX Math Support APIs],XMSHORTN4 constructor, XMSHORTN4.XMSHORTN4, XMSHORTN4.XMSHORTN4(), XMSHORTN4.XMSHORTN4(uint64_t), XMSHORTN4::XMSHORTN4, XMSHORTN4::XMSHORTN4(uint64_t), dxmath.xmshortn4_ctor_1
f1_keywords:
- directxpackedvector/XMSHORTN4.XMSHORTN4
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:
- XMSHORTN4.XMSHORTN4
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# XMSHORTN4::XMSHORTN4(uint64_t)

## -description

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

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

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

## -parameters

### -param Packed

A value.

## -remarks

## -see-also

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

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