EN
此内容没有您的语言版本,但有英语版本。

XMLoadFloat3A method

Loads an XMFLOAT3A into an XMVECTOR.

Syntax


XMVECTOR XMLoadFloat3A(
  [in]  const XMFLOAT3A *pSource
);

Parameters

pSource [in]

Address of the XMFLOAT3A structure to load.

Return value

Returns an XMVECTOR loaded with the data from the pSource parameter.

Remarks

The x, y, and z members of the XMFLOAT3A are loaded into the corresponding members of the returned XMVECTOR. The w member of the XMVECTOR is initialized to 0.

Platform Requirements

Microsoft Visual Studio 2010 or Microsoft Visual Studio 2012 with the Windows SDK for Windows 8. Supported for Win32 desktop apps, Windows Store apps, and Windows Phone 8 apps.

Requirements

Namespace

Use DirectX.

Header

DirectXMath.h

 

 

社区附加资源

添加
显示:
© 2014 Microsoft