Language: English
  • C#
  • JS
  • Boo

Script language

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


Namespace: UnityEditor

Suggest a change


Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.


Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.




Stores settings of a TextureImporter.

See Also: TextureImporter.


spriteAlignment Edge-relative alignment of the sprite graphic.
spriteBorder Border sizes of the generated sprites.
spriteExtrude The number of blank pixels to leave between the edge of the graphic and the mesh.
spriteMode Sprite texture import mode.
spritePivot Pivot point of the Sprite relative to its graphic's rectangle.
spritePixelsPerUnit The number of pixels in the sprite that correspond to one unit in world space.


ApplyTextureType Configure parameters to import a texture for a purpose of type, as described here.
CopyTo Copy parameters into another TextureImporterSettings object.

Static Functions

Equal Test texture importer settings for equality.