docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class HDLightUtils

    Utility class for lights.

    Inheritance
    object
    HDLightUtils
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Editor.dll
    Syntax
    public class HDLightUtils

    Methods

    GetIESProfile(Light)

    Get IES Object for Point, Spot or Rectangular light.

    Declaration
    public static IESObject GetIESProfile(Light light)
    Parameters
    Type Name Description
    Light light

    The light.

    Returns
    Type Description
    IESObject

    The IES Profile Object assigned on the light.

    SetIESProfile(Light, IESObject)

    Set IES Object for Point, Spot or Rectangular light.

    Declaration
    public static void SetIESProfile(Light light, IESObject profile)
    Parameters
    Type Name Description
    Light light

    The light to modify.

    IESObject profile

    The IES profile to set.

    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)