Interface ISerializedLight
Interface to be implemented by each pipeline to hold the SerializedObject for a Light Editor
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public interface ISerializedLight
Properties
intensity
Light Intensity Property
Declaration
[Obsolete("This property has been deprecated. Use ISerializedLight.settings.intensity instead.")]
SerializedProperty intensity { get; }
Property Value
Type | Description |
---|---|
SerializedProperty |
serializedAdditionalDataObject
The additinal light data serialized
Declaration
SerializedObject serializedAdditionalDataObject { get; }
Property Value
Type | Description |
---|---|
SerializedObject |
serializedObject
The light serialized
Declaration
SerializedObject serializedObject { get; }
Property Value
Type | Description |
---|---|
SerializedObject |
settings
The base settings of the light
Declaration
LightEditor.Settings settings { get; }
Property Value
Type | Description |
---|---|
LightEditor.Settings |
Methods
Apply()
Method that applies the modified properties the SerializedObject of the Light and the Light Camera Data
Declaration
void Apply()
Update()
Method that updates the SerializedObject of the Light and the Additional Light Data
Declaration
void Update()