ID3DX10Sprite::GetProjectionTransform method

Get the sprite projection matrix that is applied to all sprites.

Syntax

HRESULT GetProjectionTransform(
  [out] D3DXMATRIX *pProjectionTransform
);

Parameters

pProjectionTransform [out]

Type: D3DXMATRIX*

Pointer to a D3DX10MATRIX that will be set to the sprite's projection matrix.

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