Microsoft DirectX 9.0

IAMTimelineTransable.TransAdd Method

The TransAdd method adds a transition to the object. An object can have multiple transitions, but they must not overlap in time. Transitions must fall within the time boundaries of the object.

Syntax

object.TransAdd(
    pTrans As AMTimelineObj
)

Parameters

pTrans

The AMTimelineObj object that specifies the transition to add.

Error Codes

If the method fails, an error is raised, and Err.Number can be set to one of the following values:

Value Description
E_INVALIDARG Cannot insert the transition.
E_NOINTERFACE pTrans is not a transition.

Remarks

If the transition overlaps an existing transition, the method raises an E_INVALIDARG error.

See Also