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字段的标签。
scaleOffset绘制缩放比例/偏移。

Description

为纹理着色器属性绘制一个属性字段。