Method GetTextureSafe
GetTextureSafe(Material, string, Color)
선언
public static Texture GetTextureSafe(Material srcMaterial, string propertyName, Color fallback)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| Material | srcMaterial | |
| string | propertyName | |
| Color | fallback |
반환
| 타입 | 설명 |
|---|---|
| Texture |
GetTextureSafe(Material, string, Texture)
선언
public static Texture GetTextureSafe(Material srcMaterial, string propertyName, Texture fallback)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| Material | srcMaterial | |
| string | propertyName | |
| Texture | fallback |
반환
| 타입 | 설명 |
|---|---|
| Texture |