기술 자료

Unity Engine

Unity Engine

Process(GeneratorInstance, ChannelBuffer, Arguments)

Manually process this particular GeneratorInstance.
읽는 시간 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