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:
CelestialBodyAdditional 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 Catalogcolor_index(double): [Read-Write] Star Color Index, also named B-Vdec(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!henry_draper_id(int32): [Read-Write] Star Henry Draper ID if present in the Henry Draper Cataloghipparcos_id(int32): [Read-Write] Star Hipparcos ID if present in the Hipparcos Catalogmagnitude(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.
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:
- property henry_draper_id: int¶
[Read-Write] Star Henry Draper ID if present in the Henry Draper Catalog
- Type:
(int32)