Select your preferred scripting language. All code snippets will be displayed in this language.
class in UnityEditor
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.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseStores settings of a TextureImporter.
See Also: TextureImporter.
alphaIsTransparency | If the provided alpha channel is transparency, enable this to dilate the color to avoid filtering artifacts on the edges. |
alphaSource | Select how the alpha of the imported texture is generated. |
alphaTestReferenceValue | Returns or assigns the alpha test reference value. |
aniso | Anisotropic filtering level of the texture. |
borderMipmap | Enable this to avoid colors seeping out to the edge of the lower Mip levels. Used for light cookies. |
convertToNormalMap | Convert heightmap to normal map? |
cubemapConvolution | Convolution mode. |
fadeOut | Fade out mip levels to gray color? |
filterMode | Filtering mode of the texture. |
generateCubemap | Cubemap generation mode. |
heightmapScale | Amount of bumpyness in the heightmap. |
mipmapBias | Mip map bias of the texture. |
mipmapEnabled | Generate mip maps for the texture? |
mipmapFadeDistanceEnd | Mip level where texture is faded out to gray completely. |
mipmapFadeDistanceStart | Mip level where texture begins to fade out to gray. |
mipmapFilter | Mipmap filtering mode. |
mipMapsPreserveCoverage | Enables or disables coverage-preserving alpha MIP mapping. |
normalMapFilter | Normal map filtering mode. |
npotScale | Scaling mode for non power of two textures. |
readable | Is texture data readable from scripts. |
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. |
spriteTessellationDetail | The tessellation detail to be used for generating the mesh for the associated sprite if the SpriteMode is set to Single. For Multiple sprites, use the SpriteEditor to specify the value per sprite. Valid values are in the range [0-1], with higher values generating a tighter mesh. A default of -1 will allow Unity to determine the value automatically. |
sRGBTexture | Is texture storing color data? |
textureShape | Shape of imported texture. |
textureType | Which type of texture are we dealing with here. |
wrapMode | Texture coordinate wrapping mode. |
wrapModeU | Texture U coordinate wrapping mode. |
wrapModeV | Texture V coordinate wrapping mode. |
wrapModeW | Texture W coordinate wrapping mode for Texture3D. |
ApplyTextureType | Configure parameters to import a texture for a purpose of type, as described here. |
CopyTo | Copy parameters into another TextureImporterSettings object. |
Equal | Test texture importer settings for equality. |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information