CreateInstance(ControlContext, AudioFormat?, CreationParameters)
Ask this interface to create an EffectInstance.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Audio
- Assembly: UnityEngine.AudioModule
EffectInstance CreateInstance(ControlContext context, AudioFormat? nestedFormat, EffectInstance.CreationParameters creationParameters)
Parameters
The context associated with this EffectInstance.
If not null, the EffectInstance shall be created as a nested effect with such format to be used from within another processor.
Initialization parameters passed through.
Returns
Type | Description |
|---|---|
| EffectInstance | The created EffectInstance. |