SendData<TAudioContext, T>(TAudioContext, in T)
Send data from ProcessorInstance.IRealtime to ProcessorInstance.IControl<TRealtime> or vice versa.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.Audio
- Assembly: UnityEngine.AudioModule
SendData<T, U>(T, T)
public readonly bool SendData<TAudioContext, T>(TAudioContext context, in T data) where TAudioContext : unmanaged, ProcessorInstance.IContext where T : unmanaged
Parameters
Returns
Type | Description |
|---|---|
| bool | True if this operation is currently possible. This can fail for instance when the ProcessorInstance is being in process of being disposed through DestroyProcessor, so you must guard against this if you are transferring resources. |