Version: 5.4

TextureImporterSettings

class in UnityEditor

Cambiar al Manual

Descripción

Stores settings of a TextureImporter.

See Also: TextureImporter.

Variables

allowsAlphaSplitAllow Alpha splitting on the imported texture when needed (for example ETC1 compression for textures with transparency).
cubemapConvolutionConvolution mode.
cubemapConvolutionExponentDefines how fast Phong exponent wears off in mip maps. Higher value will apply less blur to high resolution mip maps.
cubemapConvolutionStepsDefines how many different Phong exponents to store in mip maps. Higher value will give better transition between glossy and rough reflections, but will need higher texture resolution.
rgbmRGBM encoding mode for HDR textures in TextureImporter.
spriteAlignmentEdge-relative alignment of the sprite graphic.
spriteBorderEl tamaño de los bordes de los sprites generados.
spriteExtrudeEl número de píxeles en blanco para dejar entre el borde del gráfico y el mesh.
spriteModeSprite texture import mode.
spritePivotPivot point of the Sprite relative to its graphic's rectangle.
spritePixelsPerUnitLa cantidad de pixeles en el sprite que corresponden a una unidad en el espacio del mundo.
spriteTessellationDetailThe 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.

Funciones Públicas

ApplyTextureTypeConfigure parameters to import a texture for a purpose of type, as described here.
CopyToCopy parameters into another TextureImporterSettings object.

Funciones Estáticas

EqualTest texture importer settings for equality.