GeneratorInstance.CreationParameters
Parameters controlling how a GeneratorInstance is created.
Read time 1 minuteLast updated 6 days ago
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. |