D3DXVEC3UNPROJECTARRAY function

xiaoxiao2021-03-06  114

D3DXVEC3UNPROJECTARRAY function

Put the vector array from the screen space to the object space.

definition:

D3DXVECTOR3 * WINAPI D3DXVEC3UNPROJECTARRAY (D3DXVector3 * Pout,

Uint Outstride,

Const D3DxVector3 * PV,

Uint vstride,

Const d3dviewport9 * PViewPort,

Const D3DXMAMATRIX * PPROJECTION,

Const d3dxmatrix * pVIEW,

Const d3dxmatrix * PWORLD,

Uint N

);

Parameters

pout

[IN, OUT] points to the operation result of the D3DXVECTOR3 structure.

Outstride

[in] Output vector array element size.

PV

[in] The vector array of D3DXVector3 structure.

Vstride

[in] Enter the element size of the vector array.

PViewPort

[in] points to the viewport of the D3DViewPort9 structure.

PPROJECTION

[in] points to the projection matrix of the D3DXMatrix structure.

PVIEW

[in] Points to the D3DxMatrix structure of the viewing matrix.

PWORLD

[in] The world transformation matrix of D3DXMatrix structure.

n

[IN] Number of elements in the number of quantities.

return value:

Refers to the transformation of the D3DxVector3 structure.

Description:

The function return value is the same as the POUT parameter. This allows functions D3DXVEC3UnProject to use parameters of other functions.

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

Windows 98

Function related:

D3DXVEC3PROJECT

转载请注明原文地址:https://www.9cbs.com/read-100884.html

New Post(0)