Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

RealtimeMessageContext

struct in UnityEngine.Audio


Implements interfaces:IContext

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

The context passed to ProcessorInstance.IRealtime.OnMessage when a message is delivered on the real-time side via RealtimeContext.SendMessage.

Like RealtimeContext, this exposes cross-thread data communication together with a Pipe. Unlike RealtimeContext, it deliberately cannot drive nested processing (there is no Process method): handling a message is a communication operation, not a rendering one.

Additional resources: RealtimeContext.SendMessage, ProcessorInstance.IRealtime.OnMessage

Properties

Property Description
isCreated True if this context was ever created.