Manages the sky state (this includes sun/moon position, cloud rendering/processing, and sky object processing). This can be accessed during the playing state via Eternus.World:NKGetSkyManager().
|SkyManager||Manages the sky state (this includes sun/moon position, cloud rendering/processing, and sky object processing).|
|NKSetSun||Sets a given sky object as the sun.|
|NKSetMoon||Sets a given sky object as the moon.|
|NKGetSunPosition||Returns the normalized position of the sun in the sky.|
|NKGetMoonPosition||Returns the normalized position of the moon in the sky.|
|NKRemoveSkyObject||Deletes a given sky object from the sky.|
|NKGetSkyObject||Searches the object layer at the specified depth for an object matching the given name.|
|NKAddSkyObject||Adds a new Sky Object to the sky at a given depth.|
Searches the object layer at the specified depth for an object matching the given name. If no such object is found, nil is returned instead.
|string||The name of the sky object to find.|
|int||The depth of the layer to search.|
|SkyObject||The sky object matching the search terms or nil, if none was found.|
Adds a new Sky Object to the sky at a given depth.
|string||The name of the object to be created. Note that object names must be unique within a single layer, but are not between different depths.|
|string||The name of the script class to be used for this sky object.|
|string||The relative filepath, from the Core folder, to the texture to be used. This texture must also be listed in the SkyObjectTextures/TextureList.txt file.|
|int||The depth to add this object at. If no layer is present at this depth, a new one is created.|
|table||A table containing args to pass to the constructor of the new sky object.|