MeshFilterExtensions.SaveMesh

Extension Method in MeshFilterExtensions

Declaration

public static void SaveMesh(this MeshFilter filter)

Description

Saves the mesh of the filter as a project asset (Editor only).

Parameters

filterThe mesh filter to save the mesh of.

Overload

Declaration

public static void SaveMesh(this MeshFilter filter, string assetName)

Description

Saves the mesh of the filter as a project asset (Editor only).

Parameters

filterThe mesh filter to save the mesh of.
assetNameThe name to save the asset as.