Cubemap

class in UnityEngine

Cambiar al Manual

Descripción

Clase para manejar cube maps, Utilice esta para crear o modificar cube map assets.

Variables

desiredMipmapLevelThe mipmap level that the streaming system would load before memory budgets are applied.
formatEl formato de los datos de pixel en la textura (Lectura solamente).
loadedMipmapLevelThe mipmap level that is currently loaded by the streaming system.
loadingMipmapLevelThe mipmap level that the mipmap streaming system is in the process of loading.
requestedMipmapLevelThe mipmap level to load.
streamingMipmapsDetermines whether mipmap streaming is enabled for this Texture.
streamingMipmapsPrioritySets the relative priority for this Texture when reducing memory size to fit within the memory budget.

Constructores

CubemapCrea una nueva textura cubemap vacía.

Funciones Públicas

ApplyRealmente aplica todos los cambios SetPixel y SetPixels previos.
ClearRequestedMipmapLevelResets the requestedMipmapLevel field.
GetPixelRetorna color de pixel en coordenadas (face, x, y).
GetPixelDataGets raw data from a Texture for reading or writing.
GetPixelsRetorna colores de pixel de una cara cubemap.
IsRequestedMipmapLevelLoadedChecks to see whether the mipmap level set by requestedMipmapLevel has finished loading.
SetPixelDefine un color pixel en coordenadas (face, x, y).
SetPixelDataSet pixel values from raw preformatted data.
SetPixelsDefine los colores pixel de una cara cubemap.
SmoothEdgesRealiza un suavizado cerca de las regiones con borde.
UpdateExternalTextureUpdates Unity cubemap to use different native cubemap texture object.

Funciones Estáticas

CreateExternalTextureCreates a Unity cubemap out of externally created native cubemap object.