ID3DX10Sprite::GetViewTransform method

Get the view transform that applies to all sprites.

Syntax

HRESULT GetViewTransform(
  [out] D3DXMATRIX *pViewTransform
);

Parameters

pViewTransform [out]

Type: D3DXMATRIX*

Pointer to a D3DX10MATRIX that will be set to the transform of the sprite from the original world space.

Return value

Type: HRESULT

If the method succeeds, the return value is S_OK. If the method fails, the following value will be returned: D3DERR_INVALIDCALL.

Requirements

Header
D3DX10.h
Library
D3DX10.lib

See also

ID3DX10Sprite

D3DX Interfaces