unreal.PlanetaryBodyInputData

class unreal.PlanetaryBodyInputData(name: str = '', orbit_type: OrbitType = 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: CelestialDataTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

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

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

  • 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

property name: str

[Read-Write] The body Name

Type:

(str)

property orbit_type: OrbitType

[Read-Write] One of the predefined Orbit types (Solar system planets), any custom Elliptic ones for fantasy planets

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)