TextureDimension

enumeration

Switch to Manual

Description

Texture "dimension" (type).

Indicates type of a texture (2D texture, cubemap, 3D volume texture etc.).

See Also: Texture.dimension, MaterialProperty.textureDimension.

Variables

UnknownTexture type is not initialized or unknown.
NoneNo texture is assigned.
AnyAny texture type.
Tex2D2D texture (Texture2D).
Tex3D3D volume texture (Texture3D).
Cube Cubemap texture.
Tex2DArray2D array texture (Texture2DArray).
CubeArrayCubemap array texture (CubemapArray).
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961