Constructor SequenceContext
SequenceContext(PlayableDirector, TimelineClip)
Initializes and returns an instance of SequenceContext.
Declaration
public SequenceContext(PlayableDirector director, TimelineClip clip)
Parameters
Type | Name | Description |
---|---|---|
PlayableDirector | director | The PlayableDirector associated with the context. Must be a valid PlayableDirector reference. |
TimelineClip | clip | The TimelineClip reference that controls the sequence. Specify null to specify that the sequence is the root. If non-null, the clip must be part of a valid TimelineAsset. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
ArgumentException | The |
ArgumentException | The |