IDCompositionDevice::CreateTranslateTransform3D method

Creates a 3D translation transform object.

Syntax


HRESULT CreateTranslateTransform3D(
  [out]  IDCompositionTranslateTransform3D **translateTransform3D
);

Parameters

translateTransform3D [out]

Type: IDCompositionTranslateTransform3D**

The new 3D translation transform object. This parameter must not be NULL.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

A newly created 3D translation transform has a static value of 0 for the OffsetX, OffsetY, and OffsetZ properties.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Dcomp.h

Library

Dcomp.lib

DLL

Dcomp.dll

See also

IDCompositionDevice
IDCompositionEffectGroup::SetTransform3D
IDCompositionVisual::SetEffect

 

 

Community Additions

ADD
Show:
© 2014 Microsoft