---
UID: NF:d2d1_1helper.Vector3F
title: Vector3F function (d2d1_1helper.h)
description: Returns a filled D2D1_VECTOR_3F structure.
old-location: direct2d\vector3f.htm
tech.root: Direct2D
ms.assetid: C2842DD9-A70E-4B7C-AFF5-3B95631800A3
ms.date: 12/05/2018
ms.keywords: Vector3F, Vector3F function [Direct2D], d2d1_1helper/Vector3F, direct2d.vector3f
f1_keywords:
- d2d1_1helper/Vector3F
dev_langs:
- c++
req.header: d2d1_1helper.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps \| UWP apps]
req.target-min-winversvr: Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps \| UWP apps]
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: D2d1.lib
req.dll: D2d1.dll
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- DllExport
api_location:
- D2d1.dll
api_name:
- Vector3F
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# Vector3F function


## -description


Returns a filled <a href="https://docs.microsoft.com/windows/desktop/api/dcommon/ns-dcommon-d2d_vector_3f">D2D1_VECTOR_3F</a> structure.


## -parameters




### -param x

Type: <b>FLOAT</b>

The x value of the vector.


### -param y

Type: <b>FLOAT</b>

The x value of the vector.


### -param z

Type: <b>FLOAT</b>

The x value of the vector.


## -returns



Type: <b><a href="https://docs.microsoft.com/windows/desktop/api/dcommon/ns-dcommon-d2d_vector_3f">D2D1_VECTOR_3F</a></b>

A vector of 3 FLOAT values (x, y, z).



