D3DXVEC3PROJECTARRAY function

xiaoxiao2021-03-06  115

D3DXVEC3PROJECTARRAY function

Vector of the object from the object space to the screen space.

definition:

D3DXVECTOR3 * WINAPI D3DXVEC3PROJECTARRAY

D3DXVECTOR3 * Pout,

Uint Outstride,

Const D3DxVector3 * PV,

Uint vstride,

Const d3dviewport9 * PViewPort,

Const D3DXMAMATRIX * PPROJECTION,

Const d3dxmatrix * pVIEW,

Const d3dxmatrix * PWORLD,

Uint N

);

parameter:

pout

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

Outstride

[in] Output vector array Each vector occupation space size.

PV

[in] Point the vector number of the D3DXVector3 structure.

Vstride

[in] Input vector array Each vector is occupied.

PViewPort

[in] Points to the D3DViewPort9 structure, which is a viewport.

PPROJECTION

[in] points to the D3DXMAMATRIX structure, which is a projection matrix.

PVIEW

[in] Points to the D3DXMatrix structure, which is the transformation matrix.

PWORLD

[in] Points to the D3DXMatrix structure, which is a world transformation matrix.

n

[in] Many vector in vector arrays.

return value:

Pointing the vector array of D3DXVector3 structure, which is the result of the object of the object from the object space to the screen space.

Description:

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

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

WINDOWS 98

Function related:

D3DXVEC3UNPROJECT

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

New Post(0)