Method SetTexture
SetTexture(Mode, Texture)
Set the texture for a specific target mode.
선언
public Texture SetTexture(ProbeSettings.Mode targetMode, Texture texture)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| ProbeSettings.Mode | targetMode | The mode to update. |
| Texture | texture | The texture to set. |
반환
| 타입 | 설명 |
|---|---|
| Texture | The texture that was set. |
예외
| 타입 | 조건 |
|---|---|
| ArgumentException | When the texture is invalid. |
| ArgumentOutOfRangeException | When the mode is invalid |