Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

ProcessorInstance.Pipe.SendData

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

Declaration

public Boolean SendData(TAudioContext context, ref T data);

Parameters

Parameter Description
context The context key which targets the other logical thread receiver.
data The data to be received in the other logical thread.

Returns

Boolean True if this operation is currently possible. This can fail for instance when the ProcessorInstance is being in process of being disposed through ControlContext.DestroyProcessor, so you must guard against this if you are transferring resources.

Description

Send data from IRealtime to IControl_1 or vice versa.