Navigation
API > API/Plugins > API/Plugins/CelestialVault
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/Experimental/CelestialVault/Source/CelestialVault/Public/CelestialDataTypes.h |
| Include Path | #include "CelestialDataTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FPlanetaryBodyInputData : public FTableRowBase
Inheritance Hierarchy
- FTableRowBase → FPlanetaryBodyInputData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| CelestialDataTypes.h | |||
FPlanetaryBodyInputData
(
const FString& InName, |
CelestialDataTypes.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 | CelestialDataTypes.h |
| Moon | FPlanetaryBodyInputData | CelestialDataTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Name | FString | The body Name | CelestialDataTypes.h |
|
| OrbitType | EOrbitType | One of the predefined Orbit types (Solar system planets), any custom Elliptic ones for fantasy planets | CelestialDataTypes.h |
|
| Radius | double | The Body Radius in Kilometers | CelestialDataTypes.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 | CelestialDataTypes.h |
|