docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class IESMetaData

    Common class to store metadata of an IES file

    Inheritance
    object
    IESMetaData
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    [Serializable]
    public class IESMetaData

    Fields

    Name Description
    ApplyLightAttenuation

    Enable attenuation used for Spot recommanded to be true, particulary with large angle of "SpotAngle" (cf. Gnomonic Projection)

    CookieCompression

    Compression used to generate the texture (CompressedHQ by default (BC7))

    FileFormatVersion

    Version of the IES File

    IESMaximumIntensity

    IES Max Intensity depends on the various information stored on the IES file

    IESMaximumIntensityUnit

    Unit used to measure the IESMaximumIntensity

    IESPhotometricType

    Total light intensity (in Lumens) stored on the file, usage of it is optional (through the prefab subasset inside the IESObject)

    LampCatalogNumber

    Lamp Catalog Number

    LampDescription

    Lamp Description

    LightAimAxisRotation

    Internally we use 2D projection, we have to choose one axis to project the IES propertly

    LuminaireCatalogNumber

    Luninaire Catalog Number

    LuminaireDescription

    Luminaire Description

    Manufacturer

    Manufacturer of the current IES file

    PrefabLightType

    Prefab Light Type (optional to generate the texture used by the renderer)

    SpotAngle

    Spot angle used for the Gnomonic projection of the IES. This parameter will be responsible of the pixel footprint in the 2D Texture https://en.wikipedia.org/wiki/Gnomonic_projection

    UseIESMaximumIntensity

    Enable max intensity for the texture generation

    iesSize

    IES Size of the texture used (same parameter for Point and Spot)

    Methods

    Name Description
    GetHashCode()

    Get Hash describing an unique IES

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)