ドキュメント

Unity Engine

Unity Engine

ControlContext.Manual

A manually-managed ControlContext for usage outside of the normal Unity audio system (tests, custom audio system).
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public struct ControlContext.Manual : IDisposable

Remarks

This allows you to drive normally automatic functionality on scriptable processors contained within this ControlContext. It's currently undefined behaviour to call any APIs from different threads simultaneously, so this can currently only be used for "offline usage".

Properties

Property

Description

contextThe context being manually driven.

Methods

Method

Description

BeginMixBegin a mix.
DisposeDispose a custom-created ControlContext.
EndMixEnd a previously begun mix, additionally rendering any RootOutputInstances into
result
.
UpdateUpdate and submit any queued commands found on ControlContext, making them available to the mixing functionality functions.