文档

Unity Engine


User Manual

Script Reference

Unity Engine


ExtractTextures(string)

Extracts the embedded textures from a model file (such as FBX or SketchUp).
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public bool ExtractTextures(string folderPath)

Parameters

folderPath

The directory where the textures will be extracted.

Returns

Type

Description

boolReturns true if the textures are extracted successfully, otherwise false.

Remarks

Throws ArgumentException if the folder path is null or empty.