class in Unity.ProjectAuditor.Editor.Core
/
Inherits from:Unity.ProjectAuditor.Editor.Core.AnalysisContext
A context object passed by a TextureModule to a TextureModuleAnalyzer's Analyze() method.
| Property | Description |
|---|---|
| Importer | The TextureImporter used to import the texture to be analyzed. |
| ImporterPlatformSettings | The texture importer's platform settings, matching the target analysis platform. |
| Name | The name of a texture asset in the project |
| Size | An estimate of the texture's runtime memory footprint. |
| Texture | The texture asset to be analyzed. |
| Property | Description |
|---|---|
| Params | The AnalysisParams object that was passed to (or created by) the ProjectAuditor's Audit() method. |
| Method | Description |
|---|---|
| CreateInsight | Create a ReportItemBuilder for an Insight: A ReportItem collected for informational purposes. |
| CreateIssue | Create a ReportItemBuilder for an Issue: a potential problem in the project, with an actionable recommendation to resolve it. |
| IsDescriptorEnabled | Checks whether a given Descriptor is enabled for the current analysis. |