class in UnityEngine/Inherits from: Texture
Class for handling cube maps, Use this to create or modify existing cube map assets.
设置立方体贴图的类,使用该类去创建或修改现有的立方体贴图资源。
format | The format of the pixel data in the texture (Read Only). 贴图的像素数据的格式。 |
mipmapCount | How many mipmap levels are in this texture (Read Only). 在该贴图中多级文理的数量。 |
Cubemap | Create a new empty cubemap texture. 新建空立方体贴图纹理。 |
Apply | Actually apply all previous SetPixel and SetPixels changes. 实际应用所有先前SetPixel和SetPixels的改变。 |
GetPixel | Returns pixel color at coordinates (face, x, y). 返回所在坐标(face, x, y)处的像素颜色。 |
GetPixels | Returns pixel colors of a cubemap face. 返回一个立方体贴图的面的像素颜色。 |
SetPixel | Sets pixel color at coordinates (face, x, y). 设置所在坐标(face, x, y)处的像素颜色。 |
SetPixels | Sets pixel colors of a cubemap face. 设置一个立方体面的像素颜色。 |
SmoothEdges | Performs smoothing of near edge regions. 接进的边进行平滑。 |