unreal.SunInfo¶
- class unreal.SunInfo(ra: float = 0.0, dec: float = 0.0, ue_transform: Transform = Ellipsis, direction_toward_earth: Vector = Ellipsis)¶
Bases:
StructBaseRuntime structure to store the computed properties of the Sun, for any Query.
C++ Source:
Plugin: CelestialVault
Module: CelestialVault
File: CelestialDataTypes.h
Editor Properties: (see get_editor_property/set_editor_property)
dec(double): [Read-Write] The Sun Declination in the Celestial Frame - In Degreesdirection_toward_earth(Vector): [Read-Write] Keep track of the location toward the Earthra(double): [Read-Write] The Sun Right Ascension in the Celestial Frame - In hours!ue_transform(Transform): [Read-Write] Keep track of the Vault-relative transform, at ToD = 0 for the Sun
- property dec: float¶
[Read-Write] The Sun Declination in the Celestial Frame - In Degrees
- Type:
(double)
- property direction_toward_earth: Vector¶
[Read-Write] Keep track of the location toward the Earth
- Type:
(Vector)