Creates a spot light and adds it to the VisualServer. It can be accessed with the RID that is returned. This RID can be used in most light_* VisualServer functions.
Once finished with your RID, you will want to free the RID using the VisualServer's freeRid static method.
To place in a scene, attach this spot light to an instance using instanceSetBase using the returned RID.
Creates a spot light and adds it to the VisualServer. It can be accessed with the RID that is returned. This RID can be used in most light_* VisualServer functions. Once finished with your RID, you will want to free the RID using the VisualServer's freeRid static method. To place in a scene, attach this spot light to an instance using instanceSetBase using the returned RID.