unreal.StellarBody

class unreal.StellarBody(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, color_index: float = 0.0, color: LinearColor = Ellipsis, hipparcos_id: int = 0, henry_draper_id: int = 0, yale_bright_star_id: int = 0)

Bases: CelestialBody

Additional Properties specific to Stellar Bodies (Stars)

C++ Source:

  • Plugin: CelestialVault

  • Module: CelestialVault

  • File: CelestialDataTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • color (LinearColor): [Read-Write] Star RGB Color - Can be computed from the B-V value if the star is from an official Catalog

  • color_index (double): [Read-Write] Star Color Index, also named B-V

  • 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 Degrees

    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.

  • direction_toward_earth (Vector): [Read-Write] Keep track of the location toward the Earth

  • distance_in_au (double): [Read-Write] The Body distance to Earth - In Astronomical Units!

  • henry_draper_id (int32): [Read-Write] Star Henry Draper ID if present in the Henry Draper Catalog

  • hipparcos_id (int32): [Read-Write] Star Hipparcos ID if present in the Hipparcos Catalog

  • magnitude (double): [Read-Write] The Magnitude of the Body seen from Earth

  • name (str): [Read-Write] The Body Name

  • orbit_type (OrbitType): [Read-Write] One of the predefined Orbit types (Solar system planets), any custom one for fantasy planets

  • ra (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 Kilometers

  • raj2000 (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.

  • ue_local_transform (Transform): [Read-Write] Keep track of the Vault-relative transform, at ToD = 0 for animated bodies (Moon)

  • yale_bright_star_id (int32): [Read-Write] Star YaleBrightStar ID if present in the Yale Bright Star Catalog

property color: LinearColor

[Read-Write] Star RGB Color - Can be computed from the B-V value if the star is from an official Catalog

Type:

(LinearColor)

property color_index: float

[Read-Write] Star Color Index, also named B-V

Type:

(double)

property henry_draper_id: int

[Read-Write] Star Henry Draper ID if present in the Henry Draper Catalog

Type:

(int32)

property hipparcos_id: int

[Read-Write] Star Hipparcos ID if present in the Hipparcos Catalog

Type:

(int32)

property yale_bright_star_id: int

[Read-Write] Star YaleBrightStar ID if present in the Yale Bright Star Catalog

Type:

(int32)