unreal.PlanetaryBodyInputData

class unreal.PlanetaryBodyInputData(name: str = '', orbit_type: OrbitType = Ellipsis, vsop87_body_type: VSOP87BodyType = Ellipsis, radius: float = 0.0, texture_column_index: int = 0)

Bases: TableRowBase

TableRow Base type to describe the Creation parameters of a planetary body (Planet, Moon) Will only be used at creation time, from a proper Data Table

C++ Source:

  • Plugin: CelestialVault

  • Module: CelestialVault

  • File: CelestialInputDataTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • orbit_type (OrbitType): [Read-Write] Can be VSOP87 or Elliptic

  • radius (double): [Read-Write] The Body Radius in Kilometers

  • texture_column_index (int32): [Read-Write] The planetary body Material expects Bodies textures in a single row - This is the 0-based index of the texture to use

  • vsop87_body_type (VSOP87BodyType): [Read-Write] VSOP87 Identifier of the Planetary Body

property name: str

[Read-Write] The body Name

Type:

(str)

property orbit_type: OrbitType

[Read-Write] Can be VSOP87 or Elliptic

Type:

(OrbitType)

property radius: float

[Read-Write] The Body Radius in Kilometers

Type:

(double)

property texture_column_index: int

[Read-Write] The planetary body Material expects Bodies textures in a single row - This is the 0-based index of the texture to use

Type:

(int32)

property vsop87_body_type: VSOP87BodyType

[Read-Write] VSOP87 Identifier of the Planetary Body

Type:

(VSOP87BodyType)