docs.unity3d.com
    Show / Hide Table of Contents

    Class HDLightUtils

    Utility class for lights.

    Inheritance
    Object
    HDLightUtils
    Namespace: UnityEditor.Rendering.HighDefinition
    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.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023