docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateRenderPipelinePrefabLight

    CreateRenderPipelinePrefabLight(AssetImportContext, string, bool, string, float, Light, Texture)

    Describe how to create an Prefab for the current SRP, have to be reimplemented for each SRP.

    Declaration
    public static void CreateRenderPipelinePrefabLight(AssetImportContext ctx, string iesFileName, bool useIESMaximumIntensity, string iesMaximumIntensityUnit, float iesMaximumIntensity, Light light, Texture ies)
    Parameters
    Type Name Description
    AssetImportContext ctx

    Context used from the asset importer

    string iesFileName

    Filename of the current IES file

    bool useIESMaximumIntensity

    True if uses the internal Intensity from the file

    string iesMaximumIntensityUnit

    The string of the units described by the intensity

    float iesMaximumIntensity

    Intensity

    Light light

    Light used for the prefab

    Texture ies

    Texture used for the prefab

    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)