RealtimeMessageContext
The context passed to ProcessorInstance.IRealtime.OnMessage when a message is delivered on the real-time side via RealtimeContext.SendMessage.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.Audio
- Assembly: UnityEngine.AudioModule
public struct RealtimeMessageContext
Remarks
Like RealtimeContext, this exposes cross-thread data communication together with a ProcessorInstance.Pipe. Unlike RealtimeContext, it deliberately cannot drive nested processing (there is no method): handling a message is a communication operation, not a rendering one.
ProcessAdditional Resources: RealtimeContext.SendMessage, ProcessorInstance.IRealtime.OnMessage
Properties
Property | Description |
|---|---|
| isCreated | True if this context was ever created. |