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
posXdoubleWorld x coordinate
posZdoubleWorld z coordinate
yearRelfloatCurrent year progress, from 0..1
dayRelfloatCurrent day progress, from 0..1
Returns
- Extension Methods