MaterialEditorExtensions

class in UnityEditor

Switch to Manual

Description

Extension methods for the Material asset type in the editor.

Static Functions

PerformBumpMapCheckIterates over all the Material properties with the MaterialProperty.PropFlags.Normal flag and checks that the textures referenced by these properties are imported as TextureImporterType.NormalMap.