El importador de texturas le permite a usted modificar los ajustes de importación del Texture2D desde scripts del editor.
Los ajustes de esta clase coinciden con los expuestos en Texture Import Settings.
allowAlphaSplitting | Allows alpha splitting on relevant platforms for this texture. |
alphaIsTransparency | If the provided alpha channel is transparency, enable this to prefilter the color to avoid filtering artifacts. |
alphaSource | Select how the alpha of the imported texture is generated. |
alphaTestReferenceValue | Returns or assigns the alpha test reference value. |
androidETC2FallbackOverride | ETC2 texture decompression fallback override on Android devices that don't support ETC2. |
anisoLevel | Nivel de filtrado anisotrópico de la textura. |
borderMipmap | Mantiene los bordes de textura igual cuando se genera mipmaps? |
compressionQuality | Calidad de compresión de la textura en el rango [0..100]. |
convertToNormalmap | Convertir al heightmap a normal map? |
crunchedCompression | Use crunched compression when available. |
fadeout | Fade hacia fuera los niveles del mip al color gris? |
filterMode | Modo de filtrado de la textura. |
generateCubemap | Modo de generación Cubemap. |
heightmapScale | Cantidad de bumpyness (rebote) en el heightmap. |
ignorePngGamma | Ignore the Gamma attribute in PNG files. This property does not effect other file formats. |
isReadable | Set this to true if you want texture data to be readable from scripts. Set it to false to prevent scripts from reading texture data. |
maxTextureSize | Tamaño máximo de la textura. |
mipMapBias | Mip map bias de la textura. |
mipmapEnabled | Genera Mip Maps. |
mipmapFadeDistanceEnd | El nivel Mip donde la textura se desvanece completamente. |
mipmapFadeDistanceStart | Los niveles Mip donde las texturas empiezan a desvanecerse. |
mipmapFilter | El modo de filtro Mipmap. |
mipMapsPreserveCoverage | Enables or disables coverage-preserving alpha MIP mapping. |
normalmapFilter | Modo de filtrado del mapa de normales. |
npotScale | Modo de escala para no texturas sin potencia a la 2. |
qualifiesForSpritePacking | Retorna true si este TextureImporter se configura para el empaquetamiento Sprite. |
secondarySpriteTextures | Secondary textures for the imported Sprites. |
spriteBorder | El tamaño de los bordes de los sprites generados. |
spriteImportMode | Selecciona el modo de importación Solo o Manual para las textura Sprite. |
spritePackingTag | Selecciona la etiqueta de empaquetamiento Sprite. |
spritePivot | El punto en el espacio de coordenada del objeto Sprite donde el gráfico se ubica. |
spritePixelsPerUnit | La cantidad de pixeles en el sprite que corresponden a una unidad en el espacio del mundo. |
spritesheet | Un arreglo que representa las secciones del atlas correspondiente a gráficos sprite individuales. |
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. |
textureCompression | Compression of imported texture. |
textureShape | Shape of imported texture. |
textureType | Qué tipo de textura estamos tratando aquí. |
vtOnly | When enabled, this texture can solely be used in combination with a Texture Stack for Virtual Texturing. When enabled the texture is not guaranteed to be available as a Texture2D in the Player (e.g., not accessible from a script). When disabled, the Player includes the texture both as a Texture2D (e.g., accessible from script) and as a streamable texture in a Texture Stack. |
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. |
ClearPlatformTextureSettings | Limpia los ajustes específicos a la plataforma destino. |
DoesSourceTextureHaveAlpha | ¿Tiene la imagen de la textura un canal alfa? |
GetAutomaticFormat | Returns the TextureImporterFormat that would be automatically chosen for this platform. |
GetDefaultPlatformTextureSettings | Get the default platform specific texture settings. |
GetPlatformTextureSettings | Obtiene unos ajustes de textura específicos de plataforma. |
ReadTextureImportInstructions | Lee las instrucciones de salida de la textura activa de este TextureImporter. |
ReadTextureSettings | Lee los ajustes de textura a la clase TextureImporterSettings. |
SetPlatformTextureSettings | Establece unos ajustes específicos a la plataforma destino. |
SetTextureSettings | Establece los ajustes de importación de textura desde la clase TextureImporterSettings. |
IsDefaultPlatformTextureFormatValid | Validates ref::TextureImporterFormat:: based on the type of the current format (ref::TextureImporterType::) and the default platform. |
IsPlatformTextureFormatValid | Validates ref::TextureImporterFormat:: based on a specified import type (ref::TextureImporterType::) and a specified build target (ref::BuildTarget::.). |
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) |
importSettingsMissing | The value is true when no meta file is provided with the imported asset. |
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. |
AddRemap | Map a sub-asset from an imported asset (such as an FBX file) to an external Asset of the same type. |
GetExternalObjectMap | Gets a copy of the external object map used by the AssetImporter. |
RemoveRemap | Removes an item from the map of external objects. |
SaveAndReimport | Save asset importer settings if asset importer is dirty. |
SetAssetBundleNameAndVariant | Set the AssetBundle name and variant. |
SupportsRemappedAssetType | Checks if the AssetImporter supports remapping the given asset type. |
GetInstanceID | Devuelve el id de la instancia del objeto. |
ToString | Returns the name of the object. |
GetAtPath | Retrieves the asset importer for the asset at path. |
Destroy | Removes a GameObject, component or asset. |
DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
DontDestroyOnLoad | Do not destroy the target Object when loading a new Scene. |
FindObjectOfType | Devuelve el primer objeto activo cargado de tipo type. |
FindObjectsOfType | Gets a list of all loaded objects of Type type. |
Instantiate | Clona el objeto original y devuelve el clon. |
bool | ¿Existe el objeto? |
operator != | Compare si dos objetos se refieren a un objeto diferente. |
operator == | Compara dos referencias de objeto para ver si se refieren al mismo objeto. |