Version: 2018.1

CubemapArrayConstructor

マニュアルに切り替える
public CubemapArray (int faceSize, int cubemapCount, TextureFormat format, bool mipmap);
public CubemapArray (int faceSize, int cubemapCount, TextureFormat format, bool mipmap, bool linear= false);

パラメーター

faceSizeCubemap face size in pixels.
cubemapCountNumber of elements in the cubemap array.
formatFormat of the pixel data.
mipmapミップマップを作成しますか?
linearテクスチャに色データ以外のデータが含まれるかどうか (つまり、サンプリングのときに色空間の変換が行われるか)。デフォルトは false。

説明

Create a new cubemap array.

Usually you will want to set the colors of the cubemaps after creating it. その場合は、SetPixelsSetPixels32Graphics.CopyTexture 関数を使用してください。