ID3DXSprite::GetTransform method

Gets the sprite transform.

Syntax

HRESULT GetTransform(
  [in] D3DXMATRIX *pTransform
);

Parameters

pTransform [in]

Type: D3DXMATRIX*

Pointer to a D3DXMATRIX that contains a 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

Requirement Value
Header
D3dx9core.h
Library
D3dx9.lib

See also

ID3DXSprite