Windows Dev Center

IDCompositionDevice2::CreateScaleTransform3D method

Creates a 3D scale transform object.

Syntax


HRESULT CreateScaleTransform3D(
  [out] IDCompositionScaleTransform3D **scaleTransform3D
);

Parameters

scaleTransform3D [out]

Type: IDCompositionScaleTransform3D**

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

Return value

Type: HRESULT

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See DirectComposition Error Codes for a list of error codes.

Remarks

A new 3D scale transform object has a static value of 1.0 for the ScaleX, ScaleY, and ScaleZ properties.

Requirements

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

Header

Dcomp.h

Library

Dcomp.lib

DLL

Dcomp.dll

See also

IDCompositionDevice2
IDCompositionEffectGroup::SetTransform3D
IDCompositionVisual::SetEffect

 

 

Community Additions

ADD
Show:
© 2015 Microsoft