Texture importer lets you modify Texture2D import settings from editor scripts.
Settings of this class match the ones exposed in Texture Import Settings.
anisoLevel | Nivel de filtrado anisotrópico de la textura. |
borderMipmap | Keep texture borders the same when generating mipmaps? |
compressionQuality | Calidad de compresión de la textura en el rango [0..100]. |
convertToNormalmap | Convert heightmap to normal map? |
fadeout | Fade out mip levels to gray color? |
filterMode | Modo de filtrado de la textura. |
generateCubemap | Cubemap generation mode. |
generateMipsInLinearSpace | Should mip maps be generated with gamma correction? |
grayscaleToAlpha | Generate alpha channel from intensity? |
heightmapScale | Amount of bumpyness in the heightmap. |
isReadable | Is texture data readable from scripts. |
lightmap | Is this texture a lightmap? |
linearTexture | Is texture storing non-color data? |
maxTextureSize | Tamaño máximo de la textura. |
mipMapBias | Mip map bias of the texture. |
mipmapEnabled | Generate mip maps for the texture? |
mipmapFadeDistanceEnd | Mip level where texture is faded out completely. |
mipmapFadeDistanceStart | Mip level where texture begins to fade out. |
mipmapFilter | Mipmap filtering mode. |
normalmap | ¿Es esta textura un mapa de normales? |
normalmapFilter | Modo de filtrado del mapa de normales. |
npotScale | Scaling mode for non power of two textures. |
qualifiesForSpritePacking | Returns true if this TextureImporter is setup for Sprite packing. |
spriteBorder | Border sizes of the generated sprites. |
spriteImportMode | Selects Single or Manual import mode for Sprite textures. |
spritePackingTag | Selects the Sprite packing tag. |
spritePivot | The point in the Sprite object's coordinate space where the graphic is located. |
spritePixelsPerUnit | The number of pixels in the sprite that correspond to one unit in world space. |
spritesheet | Array representing the sections of the atlas corresponding to individual sprite graphics. |
textureFormat | Formato de la textura importada. |
textureType | Which type of texture are we dealing with here. |
wrapMode | Wrap mode (Repeat or Clamp) of the texture. |
ClearPlatformTextureSettings | Clear specific target platform settings. |
DoesSourceTextureHaveAlpha | ¿Tiene la imagen de la textura un canal alfa? |
GetAllowsAlphaSplitting | Getter for the flag that allows Alpha splitting on the imported texture when needed (for example ETC1 compression for textures with transparency). |
GetPlatformTextureSettings | Get platform specific texture settings. |
ReadTextureImportInstructions | Reads the active texture output instructions of this TextureImporter. |
ReadTextureSettings | Read texture settings into TextureImporterSettings class. |
SetAllowsAlphaSplitting | Setter for the flag that allows Alpha splitting on the imported texture when needed (for example ETC1 compression for textures with transparency). |
SetPlatformTextureSettings | Set specific target platform settings. |
SetTextureSettings | Set texture importers settings from TextureImporterSettings class. |
assetBundleName | Get or set the AssetBundle name. |
assetBundleVariant | Get or set the AssetBundle variant. |
assetPath | The path name of the asset for this importer. (Read Only) |
userData | Get or set any user data. |
hideFlags | Should the object be hidden, saved with the scene or modifiable by the user? |
name | El nombre del objeto. |
SaveAndReimport | Save asset importer settings if asset importer is dirty. |
SetAssetBundleNameAndVariant | Set the AssetBundle name and variant. |
GetInstanceID | Returns the instance id of the object. |
ToString | Devuelve el nombre del objeto. |
GetAtPath | Retrieves the asset importer for the asset at path. |
Destroy | Elimina un gameobject, componente o asset. |
DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
DontDestroyOnLoad | Makes the object target not be destroyed automatically when loading a new scene. |
FindObjectOfType | Devuelve el primer objeto activo cargado de tipo type. |
FindObjectsOfType | Devuelve una lista de todos los objetos activos cargados de tipo type. |
Instantiate | Devuelve el nombre del objeto. |
bool | ¿Existe el objeto? |
operator != | Compares if two objects refer to a different object. |
operator == | Compares two object references to see if they refer to the same object. |