跳转至

Material Property Drawer

列举内置的 MaterialPropertyDrawer 和自定义实现的方法。

参考:

内置 Drawer & Decorator

都声明在 Editor/Mono/Inspector/MaterialPropertyDrawer.cs 文件中。

Toggle

ToggleOff

KeywordEnum

Enum

PowerSlider

IntRange

Space

自定义 Drawer & Decorator

Note that for performance reasons, EditorGUILayout functions are not usable with MaterialPropertyDrawers.

内置 Property Flags

HideInInspector

PerRendererData

NoScaleOffset

Normal

HDR

Gamma

NonModifiableTextureData