Microsoft DirectX 8.1 (C++) |
Each type of object in the timelinesource, track, effect, and so forthis a distinct COM object. However, an application does not create them using the CoCreateInstance function. Instead, it calls the IAMTimeline::CreateEmptyNode method. This method creates an object of the requested type, initializes it, and returns a pointer to the object. For details, see Constructing a Timeline.
Every timeline object exposes the IAMTimelineObj interface. In addition, the various object types support their own specialized interfaces:
Note that groups are a type of composition, so they support IAMTimelineComp, as well as their own IAMTimelineGroup interface.
In addition to the interfaces listed previously, timeline objects expose other, secondary interfaces. These interfaces determine the relationships between the object types.
Interface | Meaning | Exposed By |
IAMTimelineVirtualTrack | The object is a |
Composition, Track |
IAMTimelineEffectable | The object can have effects. | Composition, Track, Source |
IAMTimelineTransable | The object can have transitions. | Composition, Track |
IAMTimelineSplittable | The object can be split into two objects. | Track, Source, Effect, Transition |