Class for texture handling.
Use this to create textures on the fly or to modify existing texture assets.
| blackTexture | Get a small texture with all black pixels. |
| whiteTexture | Get a small texture with all white pixels. |
| format | The format of the pixel data in the texture (Read Only). |
| mipmapCount | How many mipmap levels are in this texture (Read Only). |
| Texture2D | Crear una nueva textura vacía. |
| Apply | Actually apply all previous SetPixel and SetPixels changes. |
| Compress | Comprimir la textura en formato DXT. |
| EncodeToJPG | Codifica la textura en formato JPG. |
| EncodeToPNG | Codifica la textura en formato PNG. |
| GetPixel | Devuelve el color del píxel en las coordenadas (x, y). |
| GetPixelBilinear | Returns filtered pixel color at normalized coordinates (u, v). |
| GetPixels | Get a block of pixel colors. |
| GetPixels32 | Get a block of pixel colors in Color32 format. |
| GetRawTextureData | Get raw data from a texture. |
| LoadImage | Carga una imagen de un array de bytes. |
| LoadRawTextureData | Fills texture pixels with raw preformatted data. |
| PackTextures | Empaqueta múltiples texturas en una textura atlas. |
| ReadPixels | Read pixels from screen into the saved texture data. |
| Resize | Resizes the texture. |
| SetPixel | Sets pixel color at coordinates (x,y). |
| SetPixels | Set a block of pixel colors. |
| SetPixels32 | Set a block of pixel colors. |
| UpdateExternalTexture | Updates Unity texture to use different native texture object. |
| CreateExternalTexture | Creates Unity Texture out of externally created native texture object. |
| hideFlags | Should the object be hidden, saved with the scene or modifiable by the user? |
| name | El nombre del objeto. |
| anisoLevel | Nivel de filtrado anisotrópico de la textura. |
| filterMode | Modo de filtrado de la textura. |
| height | Altura de la textura en pixels. (Read Only) |
| mipMapBias | Mip map bias of the texture. |
| width | Anchura de la textura en píxeles. (Read Only) |
| wrapMode | Wrap mode (Repeat or Clamp) of the texture. |
| GetInstanceID | Returns the instance id of the object. |
| ToString | Devuelve el nombre del objeto. |
| GetNativeTexturePtr | Retrieve native ('hardware') pointer to a texture. |
| 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. |
| SetGlobalAnisotropicFilteringLimits | Sets Anisotropic limits. |
| 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. |