C# Класс UnityEngine.CubemapArray

Class for handling Cubemap arrays.

Наследование: Texture
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CubemapArray ( int faceSize, int cubemapCount, TextureFormat format, bool mipmap ) : System

Create a new cubemap array.

CubemapArray ( int faceSize, int cubemapCount, TextureFormat format, bool mipmap, bool linear ) : System

Create a new cubemap array.

Приватные методы

Метод Описание
Apply ( ) : void
Apply ( [ updateMipmaps, [ makeNoLongerReadable ) : void
Apply ( bool updateMipmaps ) : void
GetPixels ( CubemapFace face, int arrayElement ) : Color[]
GetPixels ( CubemapFace face, int arrayElement, [ miplevel ) : Color[]
GetPixels32 ( CubemapFace face, int arrayElement ) : UnityEngine.Color32[]
GetPixels32 ( CubemapFace face, int arrayElement, [ miplevel ) : UnityEngine.Color32[]
Internal_Create ( [ mono, int faceSize, int cubemapCount, TextureFormat format, bool mipmap, bool linear ) : void
SetPixels ( Color colors, CubemapFace face, int arrayElement ) : void
SetPixels ( Color colors, CubemapFace face, int arrayElement, [ miplevel ) : void
SetPixels32 ( Color32 colors, CubemapFace face, int arrayElement ) : void
SetPixels32 ( Color32 colors, CubemapFace face, int arrayElement, [ miplevel ) : void

Описание методов

CubemapArray() публичный Метод

Create a new cubemap array.

public CubemapArray ( int faceSize, int cubemapCount, TextureFormat format, bool mipmap ) : System
faceSize int Cubemap face size in pixels.
cubemapCount int Number of elements in the cubemap array.
format TextureFormat Format of the pixel data.
mipmap bool Should mipmaps be created?
Результат System

CubemapArray() публичный Метод

Create a new cubemap array.

public CubemapArray ( int faceSize, int cubemapCount, TextureFormat format, bool mipmap, bool linear ) : System
faceSize int Cubemap face size in pixels.
cubemapCount int Number of elements in the cubemap array.
format TextureFormat Format of the pixel data.
mipmap bool Should mipmaps be created?
linear bool Does the texture contain non-color data (i.e. don't do any color space conversions when sampling)? Default is false.
Результат System