Click or drag to resize

MeshAnalysisUtilitiesFindMeshUsages Method

Finds all mesh usages on scene.

This method finds only MeshRenderer components. If you need SkinnedMeshRenderer components in result collection then use FindAllMeshUsages(Mesh) method.

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

Parameters

mesh
Type: Mesh
Mesh which usages need to find.

Return Value

Type: IEnumerableMeshRenderer
A collection of found mesh renderers that use specified mesh.
Exceptions
ExceptionCondition
ArgumentNullExceptionmesh is
See Also