UnityEditor.MaterialEditor.GetTexturePropertyCustomArea C# (CSharp) Method

GetTexturePropertyCustomArea() public method

public GetTexturePropertyCustomArea ( Rect position ) : Rect
position UnityEngine.Rect
return UnityEngine.Rect
        public Rect GetTexturePropertyCustomArea(Rect position)
        {
            EditorGUI.indentLevel++;
            position.height = GetTextureFieldHeight();
            Rect source = position;
            source.yMin += 16f;
            source.xMax -= EditorGUIUtility.fieldWidth + 2f;
            source = EditorGUI.IndentedRect(source);
            EditorGUI.indentLevel--;
            return source;
        }
MaterialEditor