Click or drag to resize

MeshAnalysis Class

Basic MeshAnalysis class.

Create derived class, mark it with the attribute MeshAnalysisAttribute to add new analysis.

Inheritance Hierarchy
SystemObject
  HightlanderSolutions.MeshCheckerEditorExtension.MeshAnalysisFramework.APIMeshAnalysis
    HightlanderSolutions.MeshCheckerEditorExtension.MeshAnalysisFramework.APIMessageMeshAnalysis

Namespace:  HightlanderSolutions.MeshCheckerEditorExtension.MeshAnalysisFramework.API
Assembly:  MeshCheckerLibrary (in MeshCheckerLibrary.dll) Version: 2.3
Syntax
C#
[PublicAPIAttribute]
public abstract class MeshAnalysis

The MeshAnalysis type exposes the following members.

Constructors
  NameDescription
Protected methodMeshAnalysis
Initializes a new instance of the MeshAnalysis class
Top
Properties
  NameDescription
Public propertyEnded
Gets a value indicating whether the analysis ended.
Public propertyInteractable
Gets or sets a value indicating whether the analysis is interactable.
Protected propertyMesh
Gets the mesh to be analysed.
Public propertyNotSuccess
Gets a value indicating whether the result is equal to Warning or Error
Public propertyResult
Gets the result of the analysis.
Top
Methods
  NameDescription
Public methodDeinitialize
Deinitializes the analysis.
Public methodDraw
Draw result of the analysis in target position.
Protected methodEnd
Ends the analysis with specified result.
Public methodGetHeight
Get needed height for specified width to draw the result of the analysis.
Public methodInitialize
Initializes the analysis for a specified mesh.
Public methodOnClick
Occurs when user perform click on the drawed result of this analysis if Interactable flag is true.
Protected methodOnDeinitialize
Occurs when a manager clean its data for releasing the memory.
Protected methodOnInitialize
Occurs when a manager prepares to run analyses.

This method invoked in main thread. Feel free to use Unity resources.

Public methodRunAnalysis
Run analysis for Mesh.

This method can be invoked in second thread. You can't access Unity resources from it, instead cache resources in OnInitialize(Mesh) method.

Public methodRunAnalysisInThread
Runs the analysis in a new separate thread.
Top
Events
  NameDescription
Public eventAnalysisEndedEvent
Occurs when the analysis has been ended.
Top
See Also