![]() | MeshAnalysis Class |
Create derived class, mark it with the attribute MeshAnalysisAttribute to add new analysis.
Namespace: HightlanderSolutions.MeshCheckerEditorExtension.MeshAnalysisFramework.API
[PublicAPIAttribute] public abstract class MeshAnalysis
The MeshAnalysis type exposes the following members.
Name | Description | |
---|---|---|
![]() | MeshAnalysis | Initializes a new instance of the MeshAnalysis class |
Name | Description | |
---|---|---|
![]() | Ended |
Gets a value indicating whether the analysis ended.
|
![]() | Interactable |
Gets or sets a value indicating whether the analysis is interactable.
|
![]() | Mesh |
Gets the mesh to be analysed.
|
![]() | NotSuccess | |
![]() | Result |
Gets the result of the analysis.
|
Name | Description | |
---|---|---|
![]() | Deinitialize |
Deinitializes the analysis.
|
![]() | Draw |
Draw result of the analysis in target position.
|
![]() | End |
Ends the analysis with specified result.
|
![]() | GetHeight |
Get needed height for specified width to draw the result of the analysis.
|
![]() | Initialize |
Initializes the analysis for a specified mesh.
|
![]() | OnClick |
Occurs when user perform click on the drawed result of this analysis if Interactable flag is true.
|
![]() | OnDeinitialize |
Occurs when a manager clean its data for releasing the memory.
|
![]() | OnInitialize |
Occurs when a manager prepares to run analyses.
This method invoked in main thread. Feel free to use Unity resources. |
![]() | RunAnalysis |
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. |
![]() | RunAnalysisInThread |
Runs the analysis in a new separate thread.
|
Name | Description | |
---|---|---|
![]() | AnalysisEndedEvent |
Occurs when the analysis has been ended.
|