docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AddLightToNode

    AddLightToNode(int, int)

    Assigns a light to a previously added node

    Declaration
    void AddLightToNode(int nodeId, int lightId)
    Parameters
    Type Name Description
    int nodeId

    Index of the node to add the mesh to

    int lightId

    glTF light ID to be assigned

    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)