Script language:

  • JS
  • C#
  • Boo
Script language

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

Suggest a change

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.
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.
Your name (optional):
Your email (optional):
Please write your suggestion here: