Version: 2017.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

label Label for the field.
scaleOffset Draw scale / offset.

Description

Draw a property field for a texture shader property.