A built-in message that moves the playback position of a generator.
Send a SeekMessage to a generator with ControlContext.SendMessage.
A generator supports seeking only if it handles this message. An AudioClip used as a generator handles
SeekMessage out of the box, including within nested generator hierarchies; a custom generator opts in
through its control part's ProcessorInstance.IControl<T0>.OnMessage method.
SeekMessage.destination is the position to jump to and SeekMessage.when is the position at which the seek takes effect.
A null SeekMessage.when seeks immediately. Send seeks in any order: an AudioClip generator applies them
in send order, and drops a seek whose SeekMessage.when position playback has already passed when that seek becomes
the next one due. A custom generator defines its own seek handling in
ProcessorInstance.IControl<T0>.OnMessage; follow the same rules where they apply so seeks behave
consistently across generator types.
Additional resources: ControlContext.SendMessage, AudioClip
| Property | Description |
|---|---|
| destination | Content position to jump to. |
| when | Content position at which the seek takes effect. Null applies the seek immediately. |
| Constructor | Description |
|---|---|
| SeekMessage | Creates a seek request. |