Navigation
API > API/Plugins > API/Plugins/CelestialVault
FTableRowBase |- FPlanetaryBodyInputData - FStarInputData - FCelestialStarInputData 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
| Name | FPlanetaryBodyInputData |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/CelestialVault/Source/CelestialVault/Public/CelestialInputDataTypes.h |
| Include Path | #include "CelestialInputDataTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FPlanetaryBodyInputData : public FTableRowBase
Inheritance Hierarchy
- FTableRowBase → FPlanetaryBodyInputData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| CelestialInputDataTypes.h | |||
FPlanetaryBodyInputData
(
const FString& InName, |
CelestialInputDataTypes.h | ||
FPlanetaryBodyInputData
(
const FString& InName, |
CelestialInputDataTypes.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Earth | FPlanetaryBodyInputData | TODO_Beta Add the Elliptic parameters for other Moon/Planets Ellipsoid - Minor/Major axes + offset to X axis Revolution period (year) + angle offset to time Phase if we want to fake it | CelestialInputDataTypes.h |
| Moon | FPlanetaryBodyInputData | CelestialInputDataTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Name | FString | The body Name | CelestialInputDataTypes.h |
|
| OrbitType | EOrbitType | Can be VSOP87 or Elliptic | CelestialInputDataTypes.h |
|
| Radius | double | The Body Radius in Kilometers | CelestialInputDataTypes.h |
|
| TextureColumnIndex | int32 | The planetary body Material expects Bodies textures in a single row - This is the 0-based index of the texture to use | CelestialInputDataTypes.h |
|
| VSOP87BodyType | EVSOP87BodyType | VSOP87 Identifier of the Planetary Body | CelestialInputDataTypes.h |
|