testss
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using UnityEngine.Scripting.APIUpdating;
|
||||
|
||||
namespace UnityEngine.Experimental.Rendering.Universal
|
||||
{
|
||||
public sealed partial class Light2D
|
||||
{
|
||||
[SerializeField] float m_PointLightInnerAngle = 360.0f;
|
||||
[SerializeField] float m_PointLightOuterAngle = 360.0f;
|
||||
[SerializeField] float m_PointLightInnerRadius = 0.0f;
|
||||
[SerializeField] float m_PointLightOuterRadius = 1.0f;
|
||||
|
||||
public float pointLightInnerAngle
|
||||
{
|
||||
get => m_PointLightInnerAngle;
|
||||
set => m_PointLightInnerAngle = value;
|
||||
}
|
||||
|
||||
public float pointLightOuterAngle
|
||||
{
|
||||
get => m_PointLightOuterAngle;
|
||||
set => m_PointLightOuterAngle = value;
|
||||
}
|
||||
|
||||
public float pointLightInnerRadius
|
||||
{
|
||||
get => m_PointLightInnerRadius;
|
||||
set => m_PointLightInnerRadius = value;
|
||||
}
|
||||
|
||||
public float pointLightOuterRadius
|
||||
{
|
||||
get => m_PointLightOuterRadius;
|
||||
set => m_PointLightOuterRadius = value;
|
||||
}
|
||||
|
||||
[Obsolete("pointLightDistance has been changed to normalMapDistance", true)]
|
||||
public float pointLightDistance => m_NormalMapDistance;
|
||||
|
||||
[Obsolete("pointLightQuality has been changed to normalMapQuality", true)]
|
||||
public NormalMapQuality pointLightQuality => m_NormalMapQuality;
|
||||
|
||||
|
||||
internal bool isPointLight => m_LightType == LightType.Point;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user