Version: 2018.1
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);

Parameters

labelLabel for the field.
scaleOffsetDraw scale / offset.

Description

Draw a property field for a texture shader property.