예제 #1
0
 /// <summary>
 /// Hides or shows settings property GUI elements depending on set values.
 /// </summary>
 private void ToggleFoldoutFields()
 {
     autoExposureLayout.Active = properties.GetBool("autoExposure_Expanded");
     toneMappingLayout.Active  = properties.GetBool("toneMapping_Expanded");
     whiteBalanceLayout.Active = properties.GetBool("whiteBalance_Expanded");
     colorGradingLayout.Active = properties.GetBool("colorGrading_Expanded");
 }
 /// <summary>
 /// Hides or shows settings property GUI elements depending on set values.
 /// </summary>
 private void ToggleFoldoutFields()
 {
     autoExposureLayout.Active           = properties.GetBool("autoExposure_Expanded");
     toneMappingLayout.Active            = properties.GetBool("toneMapping_Expanded");
     whiteBalanceLayout.Active           = properties.GetBool("whiteBalance_Expanded");
     colorGradingLayout.Active           = properties.GetBool("colorGrading_Expanded");
     depthOfFieldLayout.Active           = properties.GetBool("depthOfField_Expanded");
     ambientOcclusionLayout.Active       = properties.GetBool("ambientOcclusion_Expanded");
     screenSpaceReflectionsLayout.Active = properties.GetBool("screenSpaceReflections_Expanded");
     shadowsLayout.Active = properties.GetBool("shadows_Expanded");
 }
예제 #3
0
 /// <summary>
 /// Hides or shows limit property GUI elements depending on set properties.
 /// </summary>
 private void ToggleLimitFields()
 {
     hardLimitLayout.Active = properties.GetBool(prefix + "_hardLimit_Expanded");
     softLimitLayout.Active = properties.GetBool(prefix + "_softLimit_Expanded");
     springLayout.Active    = properties.GetBool(prefix + "_spring_Expanded");
 }