unreal.StarInputData

class unreal.StarInputData(ra: float = 0.0, dec: float = 0.0, distance_in_pc: float = 0.0, name: str = '', magnitude: float = 0.0, color: LinearColor = Ellipsis)

Bases: TableRowBase

TableRow Base type to describe the Creation parameters of a Basic Star Will only be used at creation time, from a proper Data Table This Struct contains the minimal needed data for a Fictional Star

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 - Useless if computed from the B-V

  • dec (double): [Read-Write] The Star Declination in the Celestial Frame - In Degrees

  • distance_in_pc (double): [Read-Write] Earth to Star distance (in Parsecs)

  • magnitude (double): [Read-Write] Star Magnitude

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

  • ra (double): [Read-Write] The Star Right Ascension in the Celestial Frame - In hours!

property color: LinearColor

[Read-Write] Star RGB Color - Useless if computed from the B-V

Type:

(LinearColor)

property dec: float

[Read-Write] The Star Declination in the Celestial Frame - In Degrees

Type:

(double)

property distance_in_pc: float

[Read-Write] Earth to Star distance (in Parsecs)

Type:

(double)

property magnitude: float

[Read-Write] Star Magnitude

Type:

(double)

property name: str

[Read-Write] Star Name

Type:

(str)

property ra: float

[Read-Write] The Star Right Ascension in the Celestial Frame - In hours!

Type:

(double)