ID3DXSprite::SetTransform method
Sets the sprite transform.
Syntax
HRESULT SetTransform(
[in] const D3DXMATRIX *pTransform
);
Parameters
-
pTransform [in]
-
Type: const 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
Requirement | Value |
---|---|
Header |
|
Library |
|
See also