docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MeshAnalysisContext

    A context object passed by MeshModule to a MeshModuleAnalyzer's Analyze() method.

    Inheritance
    object
    AnalysisContext
    MeshAnalysisContext
    Inherited Members
    AnalysisContext.Params
    AnalysisContext.CreateIssue(IssueCategory, string, params object[])
    AnalysisContext.CreateInsight(IssueCategory, string)
    AnalysisContext.IsDescriptorEnabled(Descriptor)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.ProjectAuditor.Editor.Core
    Assembly: Unity.ProjectAuditor.Editor.dll
    Syntax
    public class MeshAnalysisContext : AnalysisContext

    Fields

    Importer

    The Mesh asset's AssetImporter

    Declaration
    public AssetImporter Importer
    Field Value
    Type Description
    AssetImporter
    Remarks

    Meshes can be created from source assets by a number of different types of importer in Unity. Therefore, it's important to check the results of any attempts to cast this AssetImporter to an inherited importer type to ensure the cast was successful.

    Mesh

    The Mesh asset to be analyzed.

    Declaration
    public Mesh Mesh
    Field Value
    Type Description
    Mesh

    Name

    The name of a Mesh asset to be analyzed.

    Declaration
    public string Name
    Field Value
    Type Description
    string

    Size

    An estimate of the Mesh's runtime memory footprint.

    Declaration
    public long Size
    Field Value
    Type Description
    long
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)