GeneratorInstance.CreationParameters
Parameters controlling how a GeneratorInstance is created.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Struct
- Namespace: UnityEngine.Audio
- Assembly: UnityEngine.AudioModule
public struct GeneratorInstance.CreationParameters
Remarks
Owns the cross-cutting update behaviour shared by all scriptable processors directly, plus any construction arguments that only make sense for a GeneratorInstance. Pass this to ControlContext.AllocateGenerator; the implicit conversion from ProcessorInstance.CreationParameters keeps existing call sites working.
Properties
Property | Description |
|---|---|
| controlUpdateSetting | Control under what circumstances ProcessorInstance.IControl<TRealtime>.Update will be called. |
| realtimeUpdateSetting | Control under what circumstances ProcessorInstance.IRealtime.Update will be called. |