浏览代码

Remove FormerlySerializedAs from HDAdditionalData to not pollute with dev stuff

/main
Sebastien Lagarde 7 年前
当前提交
b0afd329
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 6
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/HDAdditionalLightData.cs

6
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/HDAdditionalLightData.cs


[SerializeField]
float m_Version = 1.0f;
#pragma warning restore 414
[FormerlySerializedAs("m_innerSpotPercent")]
public float m_InnerSpotPercent = 0.0f; // To display this field in the UI this need to be public
public float GetInnerSpotPercent01()

public bool affectDiffuse = true;
public bool affectSpecular = true;
[FormerlySerializedAs("archetype")]
public LightTypeExtent lightTypeExtent = LightTypeExtent.Punctual;
// Only for Spotlight, should be hide for other light

[FormerlySerializedAs("lightWidth")]
[FormerlySerializedAs("lightHeight")]
public float shapeHeight = 0.5f;
// Only for pyramid projector

正在加载...
取消
保存