Microsoft DirectX 9.0

AMTimeline.EnableTransitions Method

The EnableTransitions method enables or disables all transitions in the timeline. If transitions are disabled, the render engine treats them as cuts; that is, the rendered output jumps instantly from one track to the next. The default cut point is halfway through the duration of the transition. You can change the cut point by calling the AMTimelineTrans.SetCutPoint method on the transition. Disabled transitions remain in the timeline.

Syntax

object.EnableTransitions(
    fEnabled As Long
)

Parameters

fEnabled

Value that specifies whether to enable or disable transitions. If zero, transitions are disabled. If non-zero, transitions are enabled.

Error Codes

If the method fails, an error is raised.

See Also