Kerbal Space Program
1.12.4
|
Classes | |
class | LodObject |
Public Member Functions | |
override void | OnPostSetup () |
override void | OnSetup () |
override void | OnSphereActive () |
override void | OnSphereInactive () |
override void | OnSphereReset () |
override bool | OnSphereStart () |
override void | OnUpdateFinished () |
virtual void | Orientate () |
Public Member Functions inherited from PQSMod | |
virtual double | GetVertexMaxHeight () |
virtual double | GetVertexMinHeight () |
virtual void | OnMeshBuild () |
virtual void | OnPreUpdate () |
virtual void | OnQuadBuilt (PQ quad) |
virtual void | OnQuadCreate (PQ quad) |
virtual void | OnQuadDestroy (PQ quad) |
virtual void | OnQuadPreBuild (PQ quad) |
virtual void | OnQuadUpdate (PQ quad) |
virtual void | OnQuadUpdateNormals (PQ quad) |
virtual void | OnSphereStarted () |
virtual void | OnSphereTransformUpdate () |
virtual void | OnVertexBuild (PQS.VertexBuildData data) |
virtual void | OnVertexBuildHeight (PQS.VertexBuildData data) |
void | RebuildSphere () |
Public Attributes | |
double | alt |
bool | baseRotFacesNorthPole = false |
This option will make it so the PQSCity gameobject its always facing the pole and then rotated by the specified value in Z (Used for launchsites) More... | |
CrashObjectName | crashObjectName |
The component used to detect a vessel landing or crashing a launchsite and getting its name. More... | |
string | displayobjectName = string.Empty |
The localized object name - should be a localization tag. More... | |
float | individualPOIRange = 100 |
This POIs individual range More... | |
double | lat |
LaunchSite | launchSite |
Contains reference to LaunchSite if this PQSCity2 is part of a LaunchSite. More... | |
double | lon |
string | objectName = string.Empty |
The object name - should always be in English. More... | |
LodObject[] | objects |
bool | OrientateOnPostSetup = true |
Set to false the PQSCity2 will not Orientate on Start() More... | |
bool | OrientateOnStart = true |
Set to false the PQSCity2 will not Orientate on Start() More... | |
Transform | PositioningPoint |
Set this to the transform to use for positioning the City. If not set the PQSCity2 Transform will be used. More... | |
bool | raycastSurface = false |
True if a raycast - precise snap to the surface of the planet is required. More... | |
double | rotation = 0d |
bool | setOnWaterSurface = false |
Set to true will place the PQSCity2 on the surface of any water it is situated in. Otherwise will place it on the surface on the land (even if under water). More... | |
double | snapHeightOffset = 0d |
Offset of model when placing on the ground. Only used if snapToSurface is true. More... | |
bool | snapToSurface = false |
True if object is to be snapped to the surface of the planet. More... | |
PSystemSetup.SpaceCenterFacility | spaceCenterFacility |
Contains reference to SpaceCenterFacility if this PQSCity2 is part of a SpaceCenterFacility. More... | |
Vector3 | up = Vector3.up |
Public Attributes inherited from PQSMod | |
bool | modEnabled = true |
int | order = 100 |
PQS.ModiferRequirements | requirements |
PQS | sphere |
Protected Member Functions | |
virtual void | OnDestroy () |
virtual void | OnScenerySettingChanged () |
virtual void | SetInactive () |
virtual void | Start () |
Protected Attributes | |
Vector3d | planetRelativePosition = Vector3d.zero |
Properties | |
CelestialBody | celestialBody [get] |
The Celestial Body this PQSCity2 is located on. More... | |
override string | DisplaySurfaceObjectName [get] |
Localized name for this object. More... | |
bool | InPOIRange [get] |
Whether the PQSCity2 is less than the POIRange from teh active vessel More... | |
bool | InVisibleRange [get] |
Will be true or false depending on whether any of the PQSCity2 is in visible range or not. More... | |
bool | IsActive [get] |
Will be True if any of the objects in the PQSCity2 are active. Otherwise will be false. More... | |
override Vector3d | PlanetRelativePosition [get] |
double | POIRange [get] |
The POIRange from teh active vessel More... | |
bool | PositioningCompleted [get] |
override string | SurfaceObjectName [get] |
Properties inherited from PQSSurfaceObject | |
virtual string | DisplaySurfaceObjectName [get] |
virtual Vector3d | PlanetRelativePosition [get] |
virtual string | SurfaceObjectName [get] |
|
inlineprotectedvirtual |
|
inlinevirtual |
Reimplemented from PQSMod.
|
inlineprotectedvirtual |
|
inlinevirtual |
Reimplemented from PQSMod.
|
inlinevirtual |
Reimplemented from PQSMod.
|
inlinevirtual |
Reimplemented from PQSMod.
|
inlinevirtual |
Reimplemented from PQSMod.
|
inlinevirtual |
Reimplemented from PQSMod.
|
inlinevirtual |
Reimplemented from PQSMod.
|
inlinevirtual |
< add the optional offset
< create pos from normalized pos
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
double PQSCity2.alt |
bool PQSCity2.baseRotFacesNorthPole = false |
This option will make it so the PQSCity gameobject its always facing the pole and then rotated by the specified value in Z (Used for launchsites)
CrashObjectName PQSCity2.crashObjectName |
The component used to detect a vessel landing or crashing a launchsite and getting its name.
string PQSCity2.displayobjectName = string.Empty |
The localized object name - should be a localization tag.
float PQSCity2.individualPOIRange = 100 |
This POIs individual range
double PQSCity2.lat |
LaunchSite PQSCity2.launchSite |
Contains reference to LaunchSite if this PQSCity2 is part of a LaunchSite.
double PQSCity2.lon |
string PQSCity2.objectName = string.Empty |
The object name - should always be in English.
LodObject [] PQSCity2.objects |
|
protected |
Transform PQSCity2.PositioningPoint |
Set this to the transform to use for positioning the City. If not set the PQSCity2 Transform will be used.
bool PQSCity2.raycastSurface = false |
True if a raycast - precise snap to the surface of the planet is required.
double PQSCity2.rotation = 0d |
bool PQSCity2.setOnWaterSurface = false |
Set to true will place the PQSCity2 on the surface of any water it is situated in. Otherwise will place it on the surface on the land (even if under water).
double PQSCity2.snapHeightOffset = 0d |
Offset of model when placing on the ground. Only used if snapToSurface is true.
bool PQSCity2.snapToSurface = false |
True if object is to be snapped to the surface of the planet.
PSystemSetup.SpaceCenterFacility PQSCity2.spaceCenterFacility |
Contains reference to SpaceCenterFacility if this PQSCity2 is part of a SpaceCenterFacility.
Vector3 PQSCity2.up = Vector3.up |
|
get |
The Celestial Body this PQSCity2 is located on.
|
get |
Localized name for this object.
|
get |
Whether the PQSCity2 is less than the POIRange from teh active vessel
|
get |
Will be true or false depending on whether any of the PQSCity2 is in visible range or not.
|
get |
Will be True if any of the objects in the PQSCity2 are active. Otherwise will be false.
|
get |
|
get |
The POIRange from teh active vessel
|
get |
|
get |