Click or drag to resize

MeshAnalysisUtilitiesFindAllMeshUsages Method

Finds all mesh usages on scene (in MeshFilters and SkinnedMeshRenderers too)

Namespace:  HightlanderSolutions.MeshCheckerEditorExtension.MeshAnalysisFramework
Assembly:  MeshCheckerLibrary (in MeshCheckerLibrary.dll) Version: 2.3
Syntax
C#
[NotNullAttribute]
[PublicAPIAttribute]
public static IEnumerable<IMeshRenderer> FindAllMeshUsages(
	[NotNullAttribute] Mesh mesh
)

Parameters

mesh
Type: Mesh
Mesh which usages need to find.

Return Value

Type: IEnumerableIMeshRenderer
A collection of finded MeshRenderer and SkinnedMeshRenderer components that use specified mesh.
Exceptions
ExceptionCondition
ArgumentNullExceptionmesh is
See Also