ドキュメント

Unity Engine

Unity Engine

Process(GeneratorInstance, ChannelBuffer, Arguments)

Manually process this particular GeneratorInstance.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public readonly GeneratorInstance.Result Process(GeneratorInstance generatorInstance, ChannelBuffer buffer, GeneratorInstance.Arguments args)

Parameters

generatorInstance


The buffer the GeneratorInstance will put its processing result into.

Additional arguments passed along, which can be default-initialized.

Returns

Type

Description

ResultA Result struct indicating amongst other things how many frames were actually written into
buffer
.

Remarks

In most use cases, you would not call this directly, but rather have the audio system call it for you. If you are yourself nesting a GeneratorInstance inside another ProcessorInstance, you would call this.
Additional Resources: Process