浏览代码

Update menu item and class name (to pass katana)

/main
Sebastien Lagarde 6 年前
当前提交
4624b1e4
共有 3 个文件被更改,包括 6 次插入5 次删除
  1. 11
      com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Volumetric/DensityVolumeTextureTool.cs
  2. 0
      /com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Volumetric/DensityVolumeTextureTool.cs.meta
  3. 0
      /com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Volumetric/DensityVolumeTextureTool.cs

11
com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Volumetric/DensityVolumeTextureTool.cs


using UnityEngine.Rendering;
using UnityEngine.Experimental.Rendering.HDPipeline;
namespace UnityEditor.Experimental.Rendering {
namespace UnityEditor.Experimental.Rendering
{
public class VolumeTextureTool : EditorWindow
public class DensityVolumeTextureTool : EditorWindow
{
private Texture2D sourceTexture = null;
private string assetPath;

private static GUIContent windowTitle = new GUIContent("Create Volume Texture");
private static GUIContent windowTitle = new GUIContent("Create Density Volume Texture");
[MenuItem("Tools/HDRP Volumetric System/Create Volume Texture")]
[MenuItem("Window/Rendering/Density Volume Texture Tool")]
VolumeTextureTool window = (VolumeTextureTool)EditorWindow.GetWindow(typeof(VolumeTextureTool));
DensityVolumeTextureTool window = (DensityVolumeTextureTool)EditorWindow.GetWindow(typeof(DensityVolumeTextureTool));
window.titleContent = windowTitle;
window.Show();
}

/com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Volumetric/volumeTextureTool.cs.meta → /com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Volumetric/DensityVolumeTextureTool.cs.meta

/com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Volumetric/volumeTextureTool.cs → /com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Volumetric/DensityVolumeTextureTool.cs

正在加载...
取消
保存