A game about forced loneliness, made by TACStudios
at master 27 lines 1.1 kB view raw
1using System; 2 3namespace UnityEditor.Rendering 4{ 5 /// <summary> 6 /// Interface to be implemented by each pipeline to hold the <see cref="SerializedObject"/> for a Light Editor 7 /// </summary> 8 public interface ISerializedLight 9 { 10 /// <summary>The base settings of the light</summary> 11 LightEditor.Settings settings { get; } 12 /// <summary>The light serialized</summary> 13 SerializedObject serializedObject { get; } 14 /// <summary>The additinal light data serialized</summary> 15 SerializedObject serializedAdditionalDataObject { get; } 16 17 /// <summary>Light Intensity Property</summary> 18 [Obsolete("This property has been deprecated. Use ISerializedLight.settings.intensity instead.")] 19 SerializedProperty intensity { get; } 20 21 /// <summary>Method that updates the <see cref="SerializedObject"/> of the Light and the Additional Light Data</summary> 22 void Update(); 23 24 /// <summary>Method that applies the modified properties the <see cref="SerializedObject"/> of the Light and the Light Camera Data</summary> 25 void Apply(); 26 } 27}