|
virtual void | ANDNNodes_OnUpdateIcon (MapNode n, MapNode.IconData data) |
|
virtual void | apNode_OnUpdateCaption (MapNode n, MapNode.CaptionData data) |
|
virtual void | ApNode_OnUpdateIcon (MapNode n, MapNode.IconData data) |
|
virtual Vector3d | apNode_OnUpdatePosition (MapNode n) |
|
virtual void | ascNode_OnUpdateCaption (MapNode n, MapNode.CaptionData data) |
|
virtual Vector3d | ascNode_OnUpdatePosition (MapNode n) |
|
virtual void | AttachNodeUIs (Transform parent) |
|
virtual bool | CanDrawAnyIcons () |
|
virtual void | descNode_OnUpdateCaption (MapNode n, MapNode.CaptionData data) |
|
virtual Vector3d | descNode_OnUpdatePosition (MapNode n) |
|
virtual void | DrawOrbit (DrawMode mode) |
|
virtual void | DrawSpline () |
|
virtual DrawIcons | GetCurrentDrawMode () |
|
virtual Color | GetNodeColour () |
|
virtual Color | GetOrbitColour () |
|
virtual bool | HaveStateVectorKnowledge () |
|
virtual void | LateUpdate () |
|
virtual void | objectNode_OnClick (MapNode mn, Mouse.Buttons btns) |
|
virtual void | objectNode_OnUpdateCaption (MapNode n, MapNode.CaptionData data) |
|
virtual void | objectNode_OnUpdateIcon (MapNode n, MapNode.IconData data) |
|
virtual Vector3d | objectNode_OnUpdatePosition (MapNode n) |
|
virtual void | objectNode_OnUpdateType (MapNode n, MapNode.TypeData data) |
|
virtual void | OnDestroy () |
|
virtual void | peNode_OnUpdateCaption (MapNode n, MapNode.CaptionData data) |
|
virtual void | PeNode_OnUpdateIcon (MapNode n, MapNode.IconData data) |
|
virtual Vector3d | peNode_OnUpdatePosition (MapNode n) |
|
void | SplineOpacityUpdate () |
|
virtual void | Start () |
|
virtual void | UpdateSpline () |
|
Enumerator |
---|
NONE |
|
OBJ |
|
OBJ_PE_AP |
|
ALL |
|
Enumerator |
---|
OFF |
|
REDRAW_ONLY |
|
REDRAW_AND_FOLLOW |
|
REDRAW_AND_RECALCULATE |
|
virtual void OrbitRendererBase.AttachNodeUIs |
( |
Transform |
parent | ) |
|
|
inlineprotectedvirtual |
virtual bool OrbitRendererBase.CanDrawAnyIcons |
( |
| ) |
|
|
inlineprotectedvirtual |
virtual void OrbitRendererBase.DrawOrbit |
( |
DrawMode |
mode | ) |
|
|
inlineprotectedvirtual |
virtual void OrbitRendererBase.DrawSpline |
( |
| ) |
|
|
inlineprotectedvirtual |
virtual DrawIcons OrbitRendererBase.GetCurrentDrawMode |
( |
| ) |
|
|
inlineprotectedvirtual |
bool OrbitRendererBase.GetMouseOverNode |
( |
Vector3 |
worldPos, |
|
|
float |
iconSize |
|
) |
| |
|
inline |
virtual Color OrbitRendererBase.GetNodeColour |
( |
| ) |
|
|
inlineprotectedvirtual |
virtual Color OrbitRendererBase.GetOrbitColour |
( |
| ) |
|
|
inlineprotectedvirtual |
virtual bool OrbitRendererBase.HaveStateVectorKnowledge |
( |
| ) |
|
|
inlineprotectedvirtual |
virtual void OrbitRendererBase.LateUpdate |
( |
| ) |
|
|
inlineprotectedvirtual |
virtual Vector3d OrbitRendererBase.objectNode_OnUpdatePosition |
( |
MapNode |
n | ) |
|
|
inlineprotectedvirtual |
virtual void OrbitRendererBase.OnDestroy |
( |
| ) |
|
|
inlineprotectedvirtual |
virtual bool OrbitRendererBase.OrbitCast |
( |
Vector3 |
screenPos, |
|
|
out OrbitCastHit |
hitInfo, |
|
|
float |
orbitPixelWidth = 10f |
|
) |
| |
|
inlinevirtual |
virtual bool OrbitRendererBase.OrbitCast |
( |
Vector3 |
screenPos, |
|
|
Camera |
cam, |
|
|
out OrbitCastHit |
hitInfo, |
|
|
float |
orbitPixelWidth = 10f |
|
) |
| |
|
inlinevirtual |
define orbital plane
figure out where the mouse intersects the plane
find the true anomaly for the mouse position
find the radius for the true anomaly on this orbit, and the point along the orbit
see if the mouse is within pixel range of the orbit point
virtual void OrbitRendererBase.RefreshMapObject |
( |
| ) |
|
|
inlinevirtual |
If vessel is not Null and the vesselType is a VesselType.DeployedSciencePart - will terminate any objectNode that is setup. Will find again the MapObject depending on the type of object. Will then Create any missing scaledspace nodes and then attachnode UIs if any missing.
void OrbitRendererBase.SetColor |
( |
Color |
color | ) |
|
|
inline |
void OrbitRendererBase.SplineOpacityUpdate |
( |
| ) |
|
|
inlineprotected |
virtual void OrbitRendererBase.Start |
( |
| ) |
|
|
inlineprotectedvirtual |
< default orbit spline colour to half brightness of node colour (probably due to U5's lighting model hack removal)
< not even sure what this object is, we might as well see what its orbit looks like
< the map object for this vessel/celestial body will already have been created, we just need to grab it from ScaledSpace
< the other nodes we generate here
< ui nodes attach to all
Reimplemented in Expansions.Missions.Editor.GAPOrbitRenderer, and OrbitRenderer.
virtual void OrbitRendererBase.UpdateSpline |
( |
| ) |
|
|
inlineprotectedvirtual |
< plot orbit ellipse points
bool OrbitRendererBase.autoTextureOffset = true |
bool OrbitRendererBase.draw3dLines |
|
protected |
DrawIcons OrbitRendererBase.drawIcons = DrawIcons.OBJ |
DrawMode OrbitRendererBase.drawMode = DrawMode.REDRAW_AND_RECALCULATE |
bool OrbitRendererBase.drawNodes = true |
double OrbitRendererBase.eccOffset |
|
protected |
bool OrbitRendererBase.EccOffsetInvert |
bool OrbitRendererBase.isFocused |
int OrbitRendererBase.layerMask = 31 |
|
protected |
float OrbitRendererBase.lineOpacity |
|
protected |
float OrbitRendererBase.lowerCamVsSmaRatio = 0.03f |
Color OrbitRendererBase.nodeColor = Color.grey |
Transform OrbitRendererBase.nodesParent |
|
protected |
EventData<Vessel> OrbitRendererBase.onVesselIconClicked = new EventData<Vessel>("OnVesselIconClicked") |
Color OrbitRendererBase.orbitColor = Color.grey |
double OrbitRendererBase.sampleResolution = 2 |
|
staticprotected |
float OrbitRendererBase.textureOffset = 0f |
float OrbitRendererBase.twkOffset |
|
protected |
float OrbitRendererBase.upperCamVsSmaRatio = 25f |
Vessel OrbitRendererBase.vessel |
bool OrbitRendererBase.isActive |
|
get |
bool OrbitRendererBase.mouseOver |
|
get |
string OrbitRendererBase.objName |
|
getset |
Orbit OrbitRendererBase.orbit |
|
getprotected |
Vector3d [] OrbitRendererBase.OrbitPoints |
|
getset |
The documentation for this class was generated from the following file: