Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3DX10Sprite::SetViewTransform method

Set the view transform that applies to all sprites.

Syntax


HRESULT SetViewTransform(
  [in]  D3DXMATRIX *pViewTransform
);

Parameters

pViewTransform [in]

Type: D3DXMATRIX*

Pointer to a D3DXMATRIX that contains a transform of the sprite from the original world space. Use this transform to scale, rotate, or transform the sprite.

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

 

 

Community Additions

Show:
© 2015 Microsoft