Click or drag to resize

MeshAnalysisOnInitialize Method

Occurs when a manager prepares to run analyses.

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

Namespace:  HightlanderSolutions.MeshCheckerEditorExtension.MeshAnalysisFramework.API
Assembly:  MeshCheckerLibrary (in MeshCheckerLibrary.dll) Version: 2.3
Syntax
C#
[PublicAPIAttribute]
protected abstract void OnInitialize(
	[NotNullAttribute] Mesh mesh
)

Parameters

mesh
Type: Mesh
Mesh for which analysis will be runned.
Remarks
This method are good point to cache Unity resources. RunAnalysis can be invoked in separate thread and inside it you don't have access to resources like Mesh.vertices.
See Also