Sets the right-handed world-view transform for a sprite. A call to this method is required before billboarding or sorting sprites.
HRESULT SetWorldViewRH( CONST D3DXMATRIX * pWorld, CONST D3DXMATRIX * pView );
If the method succeeds, the return value is S_OK. If the method fails, the following value will be returned.
D3DERR_INVALIDCALLA call to this method (or to ID3DXSprite::SetWorldViewLH) is required if the sprite will be rendered with the D3DXSprite__BILLBOARD, D3DXSprite__SORT_DEPTH_FRONTTOBACK, or D3DXSprite__SORT_DEPTH_BACKTOFRONT flag value in ID3DXSprite::Begin.
Header: Declared in D3dx9core.h.