MaterialEditor.TexturePropertyMiniThumbnail

매뉴얼로 전환
public Texture TexturePropertyMiniThumbnail (Rect position, MaterialProperty prop, string label, string tooltip);

파라미터

position Rect that this control should be rendered in.
label Label for the field.

반환

Texture Returns total height used by this control.

설명

Draw a property field for a texture shader property that only takes up a single line height.

The thumbnail is shown to the left of the label. Note for some textures it might use more vertical space than a single line height because of an additional information box.