Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

MeshUtility.GetMeshCompression

static function GetMeshCompression(mesh: Mesh): ModelImporterMeshCompression;
static ModelImporterMeshCompression GetMeshCompression(Mesh mesh);
static def GetMeshCompression(mesh as Mesh) as ModelImporterMeshCompression

Parameters

meshThe mesh to get information on.

Description

Returns the mesh compression setting for a Mesh.