浏览代码

Slightly improve the UX

/hdrp-staging
Evgenii Golubev 6 年前
当前提交
6539e33d
共有 1 个文件被更改,包括 8 次插入11 次删除
  1. 19
      com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Volumetric/DensityVolumeEditor.cs

19
com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Volumetric/DensityVolumeEditor.cs


{
albedo.colorValue = EditorGUILayout.ColorField(s_AlbedoLabel, albedo.colorValue, true, false, false);
EditorGUILayout.PropertyField(meanFreePath, s_MeanFreePathLabel);
showTextureParams = EditorGUILayout.Foldout(showTextureParams, s_TextureSettingsTitle, true);
EditorGUILayout.PropertyField(positiveFade, s_PositiveFadeLabel);
EditorGUILayout.PropertyField(negativeFade, s_NegativeFadeLabel);
if (showTextureParams)
{
EditorGUI.indentLevel++;
EditorGUILayout.PropertyField(volumeTexture, s_VolumeTextureLabel);
EditorGUILayout.PropertyField(textureScroll, s_TextureScrollLabel);
EditorGUILayout.PropertyField(textureTile, s_TextureTileLabel);
EditorGUILayout.PropertyField(positiveFade, s_PositiveFadeLabel);
EditorGUILayout.PropertyField(negativeFade, s_NegativeFadeLabel);
EditorGUI.indentLevel--;
}
EditorGUILayout.Space();
EditorGUILayout.PropertyField(volumeTexture, s_VolumeTextureLabel);
EditorGUILayout.PropertyField(textureScroll, s_TextureScrollLabel);
EditorGUILayout.PropertyField(textureTile, s_TextureTileLabel);
}
if (EditorGUI.EndChangeCheck())

正在加载...
取消
保存