Microsoft DirectX 9.0

IAMTimelineEffectable.EffectSwapPriorities Method

The EffectSwapPriorities method switches the priority levels of two effects.

Given two priority values, this method swaps the effects at those priorities. When the method returns, the effect that was at the first priority level is at the second priority level, and vice versa.

Syntax

object.EffectSwapPriorities(
    PriorityA As Long,
    PriorityB As Long
)

Parameters

PriorityA

First priority level at which to swap effects.

PriorityB

Second priority level at which to swap effects.

Error Codes

If the method fails, an error is raised, and Err.Number can be set the following value:

Value Description
E_INVALIDARG Invalid argument.

See Also