浏览代码

Added Baking Sky to scene setting creation menu item.

/main
Julien Ignace 7 年前
当前提交
e4117440
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Editor/HDRenderPipelineMenuItems.cs

4
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Editor/HDRenderPipelineMenuItems.cs


var volume = sceneSettings.AddComponent<Volume>();
volume.isGlobal = true;
volume.sharedProfile = profile;
var bakingSky = sceneSettings.AddComponent<BakingSky>();
bakingSky.profile = volume.sharedProfile;
bakingSky.bakingSkyUniqueID = SkySettings.GetUniqueID<ProceduralSky>();
}
class DoCreateNewAsset<TAssetType> : ProjectWindowCallback.EndNameEditAction where TAssetType : ScriptableObject

正在加载...
取消
保存