docs.unity.cn
    Show / Hide Table of Contents

    Class HDLightUtils

    Utility class for lights.

    Inheritance
    Object
    HDLightUtils
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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 Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023