ID3DX10Sprite::SetProjectionTransform method

Set the projection matrix for all sprites.

Syntax

HRESULT SetProjectionTransform(
  [in] D3DXMATRIX *pProjectionTransform
);

Parameters

pProjectionTransform [in]

Type: D3DXMATRIX*

The projection matrix to be used on all sprites.

Return value

Type: HRESULT

The return value is one of the values listed in Direct3D 10 Return Codes.

Requirements

Requirement Value
Header
D3DX10.h
Library
D3DX10.lib

See also

ID3DX10Sprite

D3DX Interfaces