Language: English
  • C#
  • JS
  • Boo

Script language

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

TextureImporterSettings

Namespace: UnityEditor

Suggest a change

Success!

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.

Close

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.

Close

Cancel

Description

Stores settings of a TextureImporter.

See Also: TextureImporter.

Variables

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.
spritePixelsToUnits Scale factor between pixels in the sprite graphic and world space units.

Functions

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.