Microsoft DirectX 9.0 |
The IAMTimelineTrans interface provides methods for manipulating transitions in DirectShow Editing Services (DES). A transition is a progression between one video layer and the rendered composite of all video layers with a lower priority. A transition can be added to any timeline object that exposes the IAMTimelineTransable interface. To set properties on a transition, use the IPropertySetter interface.
The DES transition object is actually a wrapper for a DirectX Transform object. Any 2-input DirectX Transform object can be used to implement the visual effect for the transition. Microsoft no longer supports the development of third-party DirectX Transform objects. To specify the DirectX Transform object for a transition, call the IAMTimelineObj::SetSubObjectGUID method.
To create a transition object, call IAMTimeline::CreateEmptyNode with the value TIMELINE_MAJOR_TYPE_TRANSITION. You can query the returned IAMTimelineObj pointer for the IAMTimelineTrans interface.
In addition to the methods inherited from IUnknown, the IAMTimelineTrans interface exposes the following methods.
Method | Description |
GetCutPoint | Retrieves the cut point. |
GetCutPoint2 | Retrieves the cut point, as a REFTIME value. |
GetCutsOnly | Determines whether the transition is rendered as a cut. |
GetSwapInputs | Retrieves a value that indicates whether the transition inputs are swapped. |
SetCutPoint | Sets the cut point. |
SetCutPoint2 | Sets the cut point, as a REFTIME value. |
SetSwapInputs | Specifies whether the transition inputs are swapped. |
SetCutsOnly | Specifies whether the transition is rendered as a cut. |
Requirements
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.
See Also