unreal.PlanetaryBody¶
- class unreal.PlanetaryBody(name: str = '', orbit_type: OrbitType = Ellipsis, raj2000: float = 0.0, decj2000: float = 0.0, ra: float = 0.0, dec: float = 0.0, ra_geocentric: float = 0.0, dec_geocentric: float = 0.0, distance_in_au: float = 0.0, radius: float = 0.0, magnitude: float = 0.0, ue_local_transform: Transform = Ellipsis, direction_toward_earth: Vector = Ellipsis, vsop87_body_type: VSOP87BodyType = Ellipsis, apparent_diameter_degrees: float = 0.0, scaled_apparent_diameter_degrees: float = 0.0, age: float = 0.0, illumination_percentage: float = 0.0)¶
Bases:
CelestialBodyAdditional Properties specific to Planetary Bodies (Planets/Moons)
C++ Source:
Plugin: CelestialVault
Module: CelestialVault
File: CelestialDataTypes.h
Editor Properties: (see get_editor_property/set_editor_property)
age(double): [Read-Write] indication of the body disc age (phase). 0 = New, 0.25 = First quarter, 0.5 = Full, 1 = Next Newapparent_diameter_degrees(double): [Read-Write] The True apparent diameter of the Body seen from Earth (Angular size, in degrees)dec(double): [Read-Write] The Body Declination of date (topocentric, from observer lat/lon)dec_geocentric(double): [Read-Write] The Body Declination of date (geocentric) - used for 3D scene placement. In Degrees.decj2000(double): [Read-Write] The Body J2000 Declination (topocentric, from observer lat/lon) - In DegreesNote: The “true” catalog J2000 is always geocentric; We decided to express this value in the topocentric variant for validation against JPL Horizons or Stellarium, which use data generated with a surface observer.
direction_toward_earth(Vector): [Read-Write] Keep track of the location toward the Earthdistance_in_au(double): [Read-Write] The Body distance to Earth - In Astronomical Units!illumination_percentage(double): [Read-Write] indication of percentage of the illumination when the Body is fully visiblemagnitude(double): [Read-Write] The Magnitude of the Body seen from Earthname(str): [Read-Write] The Body Nameorbit_type(OrbitType): [Read-Write] One of the predefined Orbit types (Solar system planets), any custom one for fantasy planetsra(double): [Read-Write] The Body Right Ascension of date (topocentric, from observer lat/lon)ra_geocentric(double): [Read-Write] The Body Right Ascension of date (geocentric) - used for 3D scene placement. In hours.radius(double): [Read-Write] The Body Radius in Kilometersraj2000(double): [Read-Write] The Body J2000 Right Ascension (topocentric, from observer lat/lon) - In hours!Note: The “true” catalog J2000 is always geocentric; We decided to express this value in the topocentric variant for validation against JPL Horizons or Stellarium, which use data generated with a surface observer.
scaled_apparent_diameter_degrees(double): [Read-Write] The Scaled apparent diameter of the Body seen from Earth (Angular size, in degrees)Takes the fake scaling factor into consideration, so useful for camera FOV tracking.
ue_local_transform(Transform): [Read-Write] Keep track of the Vault-relative transform, at ToD = 0 for animated bodies (Moon)vsop87_body_type(VSOP87BodyType): [Read-Write] VSOP87 Identifier of the Planetary Body
- property age: float¶
[Read-Write] indication of the body disc age (phase). 0 = New, 0.25 = First quarter, 0.5 = Full, 1 = Next New
- Type:
(double)
- property apparent_diameter_degrees: float¶
[Read-Write] The True apparent diameter of the Body seen from Earth (Angular size, in degrees)
- Type:
(double)
- property illumination_percentage: float¶
[Read-Write] indication of percentage of the illumination when the Body is fully visible
- Type:
(double)
- property scaled_apparent_diameter_degrees: float¶
[Read-Write] The Scaled apparent diameter of the Body seen from Earth (Angular size, in degrees) Takes the fake scaling factor into consideration, so useful for camera FOV tracking.
- Type:
(double)
- property vsop87_body_type: VSOP87BodyType¶
[Read-Write] VSOP87 Identifier of the Planetary Body
- Type: