docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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()

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)