Navigation
API > API/Plugins > API/Plugins/CelestialVault
Runtime structure to store the computed properties of the Sun, for any Query.
| Name | FSunInfo |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/CelestialVault/Source/CelestialVault/Public/CelestialDataTypes.h |
| Include Path | #include "CelestialDataTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FSunInfo
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DEC | double | The Sun Declination in the Celestial Frame - In Degrees | CelestialDataTypes.h |
|
| DirectionTowardEarth | FVector | Keep track of the location toward the Earth | CelestialDataTypes.h |
|
| RA | double | The Sun Right Ascension in the Celestial Frame - In hours! | CelestialDataTypes.h |
|
| UETransform | FTransform | Keep track of the Vault-relative transform, at ToD = 0 for the Sun | CelestialDataTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FString ToString() |
Can't use a UFUNCTION inside a struct --> Celestial Maths Blueprint Function Library. | CelestialDataTypes.h |