文档

Unity Engine


User Manual

Script Reference

Unity Engine


CheckNormalMapTextureType(Texture2D)

Checks whether the texture is correctly imported as a normal map texture.
阅读时间1 分钟最后更新于 25 天前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static bool CheckNormalMapTextureType(Texture2D texture)

Parameters

texture

The texture to check.

Returns

Type

Description

boolTrue if texture is correctly imported, otherwise false.