Method AddLightToNode
AddLightToNode(int, int)
Assigns a light to a previously added node
Declaration
public 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 |