Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
ISiteNode Interface Reference

Interface used for adding MapNodes for sites in mapview More...

Inheritance diagram for ISiteNode:
KSCSiteNode LaunchSite

Public Member Functions

string GetName ()
 ObjectName in Unity Hierarchy (_Node appended) More...
 
Transform GetWorldPos ()
 Get the node spositiuon in world coords More...
 
void UpdateNodeCaption (MapNode mn, MapNode.CaptionData data)
 Method to update the mapnode contents More...
 

Detailed Description

Interface used for adding MapNodes for sites in mapview

Member Function Documentation

string ISiteNode.GetName ( )

ObjectName in Unity Hierarchy (_Node appended)

Returns
The name

Implemented in LaunchSite, and KSCSiteNode.

Transform ISiteNode.GetWorldPos ( )

Get the node spositiuon in world coords

Returns
Transform with World position values

Implemented in LaunchSite, and KSCSiteNode.

void ISiteNode.UpdateNodeCaption ( MapNode  mn,
MapNode.CaptionData  data 
)

Method to update the mapnode contents

Parameters
mnThe mapnode
datathe caption structure - edit this to update whats displayed

Implemented in LaunchSite, and KSCSiteNode.


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