Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Attributes | Static Public Attributes | Properties | List of all members
PSystemManager Class Reference

PSystemManager spawns a solar system defined by a PSystem prefab. If the local and scaled parent transforms are null it will spawn its own. If the spawnPQS flag is set then it'll spawn the pqs representations of planets into local space. More...

Inheritance diagram for PSystemManager:

Public Attributes

string localSpaceName
 Name of local space parent to create More...
 
PlanetariumCamera scaledSpaceCamera
 The camera for scaled space More...
 
float scaledSpaceFactor
 The scaled space size ratio More...
 
string scaledSpaceName
 Name of scaled space parent to create More...
 
Sun sun
 The sun light and shadows object More...
 
SunFlare sunFlare
 The sun Flare object More...
 
PSystem systemPrefab
 The PSystem solar system prefab to use to generate the system More...
 

Static Public Attributes

static Dictionary
< CelestialBody,
OrbitRendererData
OrbitRendererDataCache
 

Properties

static PSystemManager Instance [get, set]
 Static singleton reference More...
 
List< CelestialBodylocalBodies [get, set]
 Stored list of celestial bodies More...
 
double MaximumSurfaceGeeASL [get]
 The Maximum Surface GeeASL of all the CBs in the Psystem. More...
 
EventVoid OnPSystemReady [get]
 
List< GameObject > scaledBodies [get, set]
 Stored list of scaled bodies More...
 

Detailed Description

PSystemManager spawns a solar system defined by a PSystem prefab. If the local and scaled parent transforms are null it will spawn its own. If the spawnPQS flag is set then it'll spawn the pqs representations of planets into local space.

Member Data Documentation

string PSystemManager.localSpaceName

Name of local space parent to create

Dictionary<CelestialBody, OrbitRendererData> PSystemManager.OrbitRendererDataCache
static
PlanetariumCamera PSystemManager.scaledSpaceCamera

The camera for scaled space

float PSystemManager.scaledSpaceFactor

The scaled space size ratio

string PSystemManager.scaledSpaceName

Name of scaled space parent to create

Sun PSystemManager.sun

The sun light and shadows object

SunFlare PSystemManager.sunFlare

The sun Flare object

PSystem PSystemManager.systemPrefab

The PSystem solar system prefab to use to generate the system

Property Documentation

PSystemManager PSystemManager.Instance
staticgetset

Static singleton reference

List<CelestialBody> PSystemManager.localBodies
getset

Stored list of celestial bodies

double PSystemManager.MaximumSurfaceGeeASL
get

The Maximum Surface GeeASL of all the CBs in the Psystem.

EventVoid PSystemManager.OnPSystemReady
get
List<GameObject> PSystemManager.scaledBodies
getset

Stored list of scaled bodies


The documentation for this class was generated from the following file: