SolarSystemBuilder is an Editor feature used to create a Solar System prior to running a scene. This class is just a struct like anchor for the editor operations.
More...
|
class | COERequest |
| Container class to store the relevant info to make a Horizons Web API request. More...
|
|
|
enum | SolarPropagator { GRAVITY
, KEPLER
} |
|
|
void | BodiesAddToScene () |
| Based on the input variables, create all the game objects and heirarchy required for the solar system as configured and generate the JPL info requests.
|
|
void | DoRequests () |
|
string | JPLSmallBodyQuery (string smallBodyName) |
|
int[] | MaxSatellites () |
|
string[] | PlanetNames () |
|
void | RequestsClear () |
|
|
int | day = 1 |
|
int | month = 1 |
|
GameObject | planetPrefab |
|
bool[] | planets = new bool[NUM_PLANETS] |
|
GameObject | satellitePrefab |
|
int[] | satellites = new int[NUM_PLANETS] |
|
string[] | smallBodies |
|
GameObject | smallBodyPrefab |
|
GameObject | sunPrefab |
|
int | year = 2024 |
|
|
static int | NUM_PLANETS = 8 |
|
|
int[] | maxSatellites = new int[] { 0, 0, 1, 2, 95, 146, 27, 14 } |
|
string[] | planetNames |
|
SolarSystemBuilder is an Editor feature used to create a Solar System prior to running a scene. This class is just a struct like anchor for the editor operations.
It should not be run during execution of a scene (better to inactivate or remove it after creating the system). Running it should be harmless but has not been tested.
◆ planetNames
string [] GravityEngine2.SolarSystemBuilder.planetNames |
|
protected |
Initial value:= new string[]
{ "Mercury", "Venus", "Earth", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune"}
The documentation for this class was generated from the following file:
- ge2/GE2/Assets/GravityEngine2/Runtime/InScene/SolarSystem/SolarSystemBuilder.cs