Legacy Documentation: Version 2017.2 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

ModelImporter.ExtractTextures

public bool ExtractTextures(string folderPath);

Parameters

folderPath The directory where the textures will be extracted.

Returns

bool Returns true if the textures are extracted successfully, otherwise false.

Description

Extracts the embedded textures from a model file (such as FBX or SketchUp).

Throws ArgumentException if the folder path is null or empty.

Did you find this page useful? Please give it a rating: