Объявление
public Texture TextureProperty(MaterialProperty prop, string label);public Texture TextureProperty(MaterialProperty prop, string label, bool scaleOffset);
public Texture TextureProperty(Rect position, MaterialProperty prop, string label);
public Texture TextureProperty(Rect position, MaterialProperty prop, string label, bool scaleOffset);
public Texture TextureProperty(Rect position, MaterialProperty prop, string label, string tooltip, bool scaleOffset);
Параметры
label | Метка для поля. |
scaleOffset | Нарисуйте масштаб/смещение. |
Описание
Рисует поле свойства для свойства шейдера текстуры.