Windows apps
Collapse the table of content
Expand the table of content
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::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

 

 

Show:
© 2017 Microsoft