C# Класс UnityEngine.Cubemap

Class for handling cube maps, Use this to create or modify existing.

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

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

Метод Описание
Apply ( bool updateMipmaps, bool makeNoLongerReadable ) : void
Cubemap ( int size, TextureFormat format, bool mipmap )
Cubemap ( int size, TextureFormat format, bool mipmap ) : System
GetPixels ( CubemapFace face, int miplevel ) : UnityEngine.Color[]
SetPixel ( CubemapFace face, int x, int y, Color color ) : void
SetPixels ( Color colors, CubemapFace face, int miplevel ) : void
SmoothEdges ( int smoothRegionWidthInPixels ) : void

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

Метод Описание
Apply ( ) : void
Apply ( [ updateMipmaps, [ makeNoLongerReadable ) : void
Apply ( bool updateMipmaps ) : void
GetPixel ( CubemapFace face, int x, int y ) : Color
GetPixels ( CubemapFace face ) : UnityEngine.Color[]
GetPixels ( CubemapFace face, [ miplevel ) : UnityEngine.Color[]
INTERNAL_CALL_SetPixel ( Cubemap self, CubemapFace face, int x, int y, Color &color ) : void
Internal_Create ( Cubemap mono, int size, TextureFormat format, bool mipmap ) : void
Internal_Create ( [ mono, int size, TextureFormat format, bool mipmap ) : void
SetPixels ( Color colors, CubemapFace face ) : void
SetPixels ( Color colors, CubemapFace face, [ miplevel ) : void
SmoothEdges ( ) : void
SmoothEdges ( [ smoothRegionWidthInPixels ) : void

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

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

public Apply ( bool updateMipmaps, bool makeNoLongerReadable ) : void
updateMipmaps bool
makeNoLongerReadable bool
Результат void

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

public Cubemap ( int size, TextureFormat format, bool mipmap )
size int
format TextureFormat
mipmap bool

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

public Cubemap ( int size, TextureFormat format, bool mipmap ) : System
size int
format TextureFormat
mipmap bool
Результат System

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

public GetPixels ( CubemapFace face, int miplevel ) : UnityEngine.Color[]
face CubemapFace
miplevel int
Результат UnityEngine.Color[]

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

public SetPixel ( CubemapFace face, int x, int y, Color color ) : void
face CubemapFace
x int
y int
color Color
Результат void

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

public SetPixels ( Color colors, CubemapFace face, int miplevel ) : void
colors Color
face CubemapFace
miplevel int
Результат void

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

public SmoothEdges ( int smoothRegionWidthInPixels ) : void
smoothRegionWidthInPixels int
Результат void