GeneratorInstance.Result
The result returned from a GeneratorInstance.IRealtime.Process call.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.Audio
- Assembly: UnityEngine.AudioModule
public ref struct GeneratorInstance.Result
Remarks
This primarily contains the amount of frames actually written into the passed-in ChannelBuffer.
Additional Resources: RealtimeContext.Process
Properties
Property | Description |
|---|---|
| processedFrames | Number of frames processed by the GeneratorInstance in RealtimeContext.Process. |
Operators
Operator | Description |
|---|---|
| Result | Creates a new GeneratorInstance.Result from a number of frames processed. |