Method TextureColorProps
TextureColorProps(MaterialEditor, GUIContent, MaterialProperty, MaterialProperty, bool)
Helper function to show texture and color properties.
선언
public static Rect TextureColorProps(MaterialEditor materialEditor, GUIContent label, MaterialProperty textureProp, MaterialProperty colorProp, bool hdr = false)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| MaterialEditor | materialEditor | The material editor to use. |
| GUIContent | label | The label to use. |
| MaterialProperty | textureProp | The texture property. |
| MaterialProperty | colorProp | The color property. |
| bool | hdr | Marks whether this is a HDR texture or not. |
반환
| 타입 | 설명 |
|---|---|
| Rect |