docs.unity3d.com
    Show / Hide Table of Contents

    Class IESReader

    Class to Parse IES File

    Inheritance
    Object
    IESReader
    Namespace: UnityEditor.Rendering
    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
    Single

    PhotometricType

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

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

    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
    Single

    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.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    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