Class AudioClipAnalysisContext
A context object passed by AudioClipModule to an AudioClipModuleAnalyzer's Analyze() method.
Inherited Members
Namespace: Unity.ProjectAuditor .Editor.Core
Assembly: Unity.ProjectAuditor.Editor.dll
Syntax
public class AudioClipAnalysisContext : AnalysisContext
Fields
AudioClip
The AudioClip to be analyzed.
Declaration
public AudioClip AudioClip
Field Value
Type | Description |
---|---|
Audio |
ImportedSize
The file size of the imported AudioClip.
Declaration
public long ImportedSize
Field Value
Type | Description |
---|---|
long |
Importer
The AudioImporter used to import the AudioClip to be analyzed.
Declaration
public AudioImporter Importer
Field Value
Type | Description |
---|---|
Audio |
Name
The name of an AudioClip in the project.
Declaration
public string Name
Field Value
Type | Description |
---|---|
string |
RuntimeSize
An estimate of the runtime memory footprint of this AudioClip, when it's playing.
Declaration
public long RuntimeSize
Field Value
Type | Description |
---|---|
long |
SampleSettings
The AudioImporter's sample settings.
Declaration
public AudioImporterSampleSettings SampleSettings
Field Value
Type | Description |
---|---|
Audio |