MaterialEditor.TextureProperty
public Texture TextureProperty(Rect position,
MaterialProperty prop,
string label,
bool scaleOffset);
public Texture TextureProperty(Rect position,
MaterialProperty prop,
string label,
string tooltip,
bool scaleOffset);
Parameters
| label | Label for the field. | |
| scaleOffset | Draw scale / offset. |
Description 描述
Draw a property field for a texture shader property.