IDCompositionAnimation interface

Represents a function for animating one or more properties of one or more Microsoft DirectComposition objects. Any object property that takes a scalar value can be animated.

When to implement

In the context of DirectComposition, client applications do not implement the IDCompositionAnimation interface. However, client applications can implement this interface to receive information from components such as the Windows Animation Manager.

Members

The IDCompositionAnimation interface inherits from the IUnknown interface. IDCompositionAnimation also has these types of members:

Methods

The IDCompositionAnimation interface has these methods.

MethodDescription
AddCubic

Adds a cubic polynomial segment to the animation function.

AddRepeat

Adds a repeat segment that causes the specified portion of an animation function to be repeated.

AddSinusoidal

Adds a sinusoidal segment to the animation function.

End

Adds an end segment that marks the end of an animation function.

Reset

Resets the animation function so that it contains no segments.

SetAbsoluteBeginTime

Sets the absolute time at which the animation function starts.

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

DcompAnimation.h

IDL

DcompAnimation.idl

Library

Dcomp.lib

DLL

Dcomp.dll

See also

IDCompositionDevice::CreateAnimation

 

 

Show: