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

    ApplyLightAttenuation

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

    Declaration
    public bool ApplyLightAttenuation
    Field Value
    Type Description
    bool

    CookieCompression

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

    Declaration
    public TextureImporterCompression CookieCompression
    Field Value
    Type Description
    TextureImporterCompression

    FileFormatVersion

    Version of the IES File

    Declaration
    public string FileFormatVersion
    Field Value
    Type Description
    string

    IESMaximumIntensity

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

    Declaration
    public float IESMaximumIntensity
    Field Value
    Type Description
    float

    IESMaximumIntensityUnit

    Unit used to measure the IESMaximumIntensity

    Declaration
    public string IESMaximumIntensityUnit
    Field Value
    Type Description
    string

    IESPhotometricType

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

    Declaration
    public string IESPhotometricType
    Field Value
    Type Description
    string

    LampCatalogNumber

    Lamp Catalog Number

    Declaration
    public string LampCatalogNumber
    Field Value
    Type Description
    string

    LampDescription

    Lamp Description

    Declaration
    public string LampDescription
    Field Value
    Type Description
    string

    LightAimAxisRotation

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

    Declaration
    [Range(-180, 180)]
    public float LightAimAxisRotation
    Field Value
    Type Description
    float

    LuminaireCatalogNumber

    Luninaire Catalog Number

    Declaration
    public string LuminaireCatalogNumber
    Field Value
    Type Description
    string

    LuminaireDescription

    Luminaire Description

    Declaration
    public string LuminaireDescription
    Field Value
    Type Description
    string

    Manufacturer

    Manufacturer of the current IES file

    Declaration
    public string Manufacturer
    Field Value
    Type Description
    string

    PrefabLightType

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

    Declaration
    public IESLightType PrefabLightType
    Field Value
    Type Description
    IESLightType

    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

    Declaration
    [Range(1, 179)]
    public float SpotAngle
    Field Value
    Type Description
    float

    UseIESMaximumIntensity

    Enable max intensity for the texture generation

    Declaration
    public bool UseIESMaximumIntensity
    Field Value
    Type Description
    bool

    iesSize

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

    Declaration
    public IESResolution iesSize
    Field Value
    Type Description
    IESResolution

    Methods

    GetHashCode()

    Get Hash describing an unique IES

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    The Hash of the IES Object

    Overrides
    object.GetHashCode()

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