Unity - Scripting API: MeshAnalysisContext
class in Unity.ProjectAuditor.Editor.Core
/
Inherits from:Unity.ProjectAuditor.Editor.Core.AnalysisContext
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Description
A context object passed by MeshModule to a MeshModuleAnalyzer's Analyze() method.
Properties
| Property | Description |
|---|---|
| Importer | The Mesh asset's AssetImporter |
| Mesh | The Mesh asset to be analyzed. |
| Name | The name of a Mesh asset to be analyzed. |
| Size | An estimate of the Mesh's runtime memory footprint. |
Inherited Members
Properties
| Property | Description |
|---|---|
| Params | The AnalysisParams object that was passed to (or created by) the ProjectAuditor's Audit() method. |
Public Methods
| 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. |