docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class IESReader

    Class to Parse IES File

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

    Properties

    FileFormatVersion

    Version of the IES File

    Declaration
    public string FileFormatVersion { get; }
    Property Value
    Type Description
    string

    MaxCandelas

    Maximum of Candela in the IES File

    Declaration
    public float MaxCandelas { get; }
    Property Value
    Type Description
    float

    PhotometricType

    Type of Photometric light in the IES file, varying per IES-Type and version

    Declaration
    public int PhotometricType { get; }
    Property Value
    Type Description
    int

    TotalLumens

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

    Declaration
    public float TotalLumens { get; }
    Property Value
    Type Description
    float

    Methods

    ReadFile(string)

    Main function to read the file

    Declaration
    public string ReadFile(string iesFilePath)
    Parameters
    Type Name Description
    string iesFilePath

    The path to the IES File on disk.

    Returns
    Type Description
    string

    Return the error during the import otherwise null if no error

    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)