Skip to content

Latest commit

 

History

History
87 lines (63 loc) · 4.3 KB

nf-dcomp-idcompositionscaletransform3d-setcenterz(idcompositionanimation).md

File metadata and controls

87 lines (63 loc) · 4.3 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:dcomp.IDCompositionScaleTransform3D.SetCenterZ(IDCompositionAnimation)
IDCompositionScaleTransform3D::SetCenterZ(IDCompositionAnimation) (dcomp.h)
Animates the value of the CenterZ property of a 3D scale transform.
IDCompositionScaleTransform3D interface [DirectComposition]
SetCenterZ method
IDCompositionScaleTransform3D.SetCenterZ
IDCompositionScaleTransform3D.SetCenterZ(IDCompositionAnimation)
IDCompositionScaleTransform3D::SetCenterZ
IDCompositionScaleTransform3D::SetCenterZ(IDCompositionAnimation)
IDCompositionScaleTransform3D::SetCenterZ(IDCompositionAnimation*)
SetCenterZ
SetCenterZ method [DirectComposition]
SetCenterZ method [DirectComposition]
IDCompositionScaleTransform3D interface
dcomp/IDCompositionScaleTransform3D::SetCenterZ
directcomp.idcompositionscaletransform3d_setcenterz_idcompositionanimation
directcomp\idcompositionscaletransform3d_setcenterz_idcompositionanimation.htm
directcomp
7A64DE5A-90DF-4B20-B851-D7FD730CAB48
12/05/2018
IDCompositionScaleTransform3D interface [DirectComposition],SetCenterZ method, IDCompositionScaleTransform3D.SetCenterZ, IDCompositionScaleTransform3D.SetCenterZ(IDCompositionAnimation), IDCompositionScaleTransform3D::SetCenterZ, IDCompositionScaleTransform3D::SetCenterZ(IDCompositionAnimation), IDCompositionScaleTransform3D::SetCenterZ(IDCompositionAnimation*), SetCenterZ, SetCenterZ method [DirectComposition], SetCenterZ method [DirectComposition],IDCompositionScaleTransform3D interface, dcomp/IDCompositionScaleTransform3D::SetCenterZ, directcomp.idcompositionscaletransform3d_setcenterz_idcompositionanimation
dcomp.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
Dcomp.lib
Dcomp.dll
Windows
19H1
IDCompositionScaleTransform3D::SetCenterZ
dcomp/IDCompositionScaleTransform3D::SetCenterZ
c++
APIRef
kbSyntax
COM
Dcomp.dll
IDCompositionScaleTransform3D.SetCenterZ

IDCompositionScaleTransform3D::SetCenterZ(IDCompositionAnimation)

-description

Animates the value of the CenterZ property of a 3D scale transform. The CenterZ property specifies the z-coordinate of the point about which scaling is performed.

-parameters

-param animation [in]

Type: IDCompositionAnimation*

An animation object that determines how the value of the CenterZ property changes over time. This parameter must not be NULL.

-returns

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

This method makes a copy of the specified animation. If the object referenced by the animation parameter is changed after calling this method, the change does not affect the CenterZ property unless this method is called again. If the CenterZ property was previously animated, calling this method replaces the previous animation with the new animation.

This method fails if animation is an invalid pointer or if it was not created by the same IDCompositionDevice interface as the affected visual. The interface cannot be a custom implementation; only interfaces created by Microsoft DirectComposition can be used with this method.

-see-also

IDCompositionScaleTransform3D

IDCompositionScaleTransform3D::SetCenterX

IDCompositionScaleTransform3D::SetCenterY