Delegate SolarSphericalCoordsDelegate
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
Should return sin(solar altitude angle). i.e. -1 for 90 degrees far below horizon, 0 for horizon and 1 for vertical
public delegate SolarSphericalCoords SolarSphericalCoordsDelegate(double posX, double posZ, float yearRel, float dayRel)
Parameters
posX
doubleWorld x coordinate
posZ
doubleWorld z coordinate
yearRel
floatCurrent year progress, from 0..1
dayRel
floatCurrent day progress, from 0..1
Returns
- Extension Methods