Microsoft DirectX 9.0

AMTimelineTrans.SetSwapInputs Method

The SetSwapInputs method specifies whether the transition inputs are swapped.

By default, a transition goes from the composite of all lower-priority layers to the layer where the transition resides. You can reverse this progression, so the transition goes from the layer where it resides back to the composite of lower-priority layers.

Syntax

object.SetSwapInputs(
    Val As Long
)

Parameters

Val

Value that specifies whether the inputs are swapped. If zero, the transition goes from the composite of all lower-priority layers to the transition layer. If non-zero, the transition goes in the opposite direction.

Error Codes

If the method fails, an error is raised.

Remarks

This method does not change the direction of the visual effect. For example, a left-to-right wipe will still go from left to right.

See Also