Version: 2017.3

CubemapArrayConstructor

Cambiar al Manual
public CubemapArray (int faceSize, int cubemapCount, TextureFormat format, bool mipmap);
public CubemapArray (int faceSize, int cubemapCount, TextureFormat format, bool mipmap, bool linear);

Parámetros

faceSize Cubemap face size in pixels.
cubemapCount Number of elements in the cubemap array.
format Format of the pixel data.
mipmap Deberían los mipmaps ser creados?
linear La textura contiene datos sin-color (ej.no hace una conversión del espacio de color cuando muestrea)? Lo predeterminado es false.

Descripción

Create a new cubemap array.

Usually you will want to set the colors of the cubemaps after creating it. Use SetPixels, SetPixels32 or Graphics.CopyTexture functions for that.