浏览代码

Make a common HDProbe ancestor

/main
RSlysz 6 年前
当前提交
a2de9ad1
共有 4 个文件被更改,包括 22 次插入2 次删除
  1. 2
      com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/HDAdditionalReflectionData.cs
  2. 2
      com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/PlanarReflectionProbe.cs
  3. 9
      com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/HDProbe.cs
  4. 11
      com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/HDProbe.cs.meta

2
com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/HDAdditionalReflectionData.cs


namespace UnityEngine.Experimental.Rendering
{
[RequireComponent(typeof(ReflectionProbe))]
public class HDAdditionalReflectionData : MonoBehaviour, ISerializationCallbackReceiver
public class HDAdditionalReflectionData : HDProbe, ISerializationCallbackReceiver
{
[HideInInspector]
const int currentVersion = 1;

2
com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/PlanarReflectionProbe.cs


namespace UnityEngine.Experimental.Rendering.HDPipeline
{
[ExecuteInEditMode]
public class PlanarReflectionProbe : MonoBehaviour, ISerializationCallbackReceiver
public class PlanarReflectionProbe : HDProbe, ISerializationCallbackReceiver
{
[HideInInspector]
const int currentVersion = 1;

9
com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/HDProbe.cs


using UnityEngine;
namespace UnityEngine.Experimental.Rendering.HDPipeline
{
public abstract class HDProbe : MonoBehaviour
{
}
}

11
com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/HDProbe.cs.meta


fileFormatVersion: 2
guid: 843017cb1cb3fa441a28e5a674bfea8e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存