Legacy Documentation: Version 4.6.2
Language: English
  • C#
  • JS
  • Boo

Script language

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

TextureImporterSettings

Namespace: UnityEditor

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.
spritePixelsPerUnit The number of pixels in the sprite that correspond to one unit in world space.

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.