Class MaterialDebugSettings
Material Debug Settings.
상속된 멤버
네임스페이스: UnityEngine.Rendering.HighDefinition
어셈블리: solution.dll
구문
[Serializable]
public class MaterialDebugSettings
필드
| 이름 | 설명 |
|---|---|
| debugViewMaterialCommonValue | Current material shared properties debug view. |
| debugViewMaterialGBufferStrings | List of material debug view names. |
| debugViewMaterialGBufferValues | List of material debug views values. |
| materialValidateHighColor | Color for displaying materials using an albedo value that is too high. |
| materialValidateLowColor | Color for displaying materials using an albedo value that is too low. |
| materialValidateTrueMetal | Enable display of materials using a true metallic value. |
| materialValidateTrueMetalColor | Color for displaying materials using a true metallic color. |
프로퍼티
| 이름 | 설명 |
|---|---|
| debugViewEngine | Current Engine Debug View. |
| debugViewGBuffer | Current GBuffer Debug View. |
| debugViewMaterial | Current Debug View Material. |
| debugViewProperties | Current Properties Debug View. |
| debugViewVarying | Current Varying Debug View. |
메서드
| 이름 | 설명 |
|---|---|
| DisableMaterialDebug() | Disable all current material debug views. |
| IsDebugDisplayEnabled() | Returns true if any material debug display is enabled. |
| IsDebugGBufferEnabled() | Returns true if GBuffer debug is enabled. |
| IsDebugViewMaterialEnabled() | Returns true if Material debug is enabled. |
| SetDebugViewCommonMaterialProperty(MaterialSharedProperty) | Set the current shared material properties debug view. |
| SetDebugViewEngine(int) | Set the current engine debug view. |
| SetDebugViewGBuffer(int) | Set the current GBuffer debug view. |
| SetDebugViewMaterial(int) | Set the current material debug view. |
| SetDebugViewProperties(DebugViewProperties) | Set the current Material Property debug view. |
| SetDebugViewVarying(DebugViewVarying) | Set current varying debug view. |