Stores 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. |
singleChannelComponent | Color or Alpha component Single Channel Textures uses. |
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. |
spriteGenerateFallbackPhysicsShape | Generates a default physics shape for a Sprite if a physics shape has not been set by the user. |
spriteMeshType | SpriteMeshType defines the type of Mesh that TextureImporter generates for a Sprite. |
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? |
streamingMipmaps | Enable mipmap streaming for this texture. |
streamingMipmapsPriority | Relative priority for this texture when reducing memory size in order to hit the memory budget. |
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
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.