MaterialEditor.TextureProperty

function TextureProperty (propertyName : String, label : String, texDim : ShaderUtil.ShaderPropertyTexDim) : Texture

function TextureProperty (propertyName : String, label : String, texDim : ShaderUtil.ShaderPropertyTexDim, scaleOffset : boolean) : Texture

Parameters

NameDescription
propertyName Name of the property to draw.
label Label for the field.
texDim Dimensions of the texture.
scaleOffset Draw scale / offset.

Description

Draw a property field for a texture shader property.