|
|
|
|
|
|
[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
|
|
|
|