ID3DXSprite::GetTransform

Gets the sprite transform.

HRESULT GetTransform(
  D3DXMATRIX * pTransform
);

Parameters

pTransform
[in] Pointer to a D3DXMATRIX that contains a transform of the sprite from the original world space.

Return Values

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

D3DERR_INVALIDCALL

Requirements

Header: Declared in D3dx9core.h.