Navigation
API > API/Plugins > API/Plugins/CelestialVault > API/Plugins/CelestialVault/UCelestialMaths
Description
Compute all Sun Properties for a specific JulianDate
This override can run faster if we provide it with a cache of the Earth Location and Velocity, because it won't recompute it. if bGeocentric is true, Latitude and Longitude are ignored.
| Name | GetSunInformation_UsingKnownState |
| Type | function |
| Header File | /Engine/Plugins/Runtime/CelestialVault/Source/CelestialVault/Public/CelestialMaths.h |
| Include Path | #include "CelestialMaths.h" |
| Source | /Engine/Plugins/Runtime/CelestialVault/Source/CelestialVault/Private/CelestialMaths.cpp |
UFUNCTION (BlueprintCallable, Category="Celestial Vault|Sun")
static FStellarBody GetSunInformation_UsingKnownState
(
double JulianDate,
const FPlanetaryBodyKinematicState & EarthKinematicState,
double ObserverLatitude,
double ObserverLongitude,
bool bGeoCentric
)