ProcessorInstance.IRealtime
Base interface for the common processing logic of a ProcessorInstance.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Interface
- Namespace: UnityEngine.Audio
- Assembly: UnityEngine.AudioModule
public interface ProcessorInstance.IRealtime
Remarks
All ProcessorInstances must implement this interface to be fully formed, though usually each specific ProcessorInstance implements a more specific interface inheriting from this one.
Additional Resources: GeneratorInstance.IRealtime, ProcessorInstance.IControl<TRealtime>
Methods
Method | Description |
|---|---|
| OnMessage | Called immediately from RealtimeContext.SendMessage when a message was sent to this ProcessorInstance on the real-time side. |
| Update | Implement this function to react to data sent to the ProcessorInstance or communicate something back. |