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
PositionTarget Class Reference

Via Sarbian with permission More...

Inheritance diagram for PositionTarget:
ITargetable DirectionTarget

Public Member Functions

bool GetActiveTargetable ()
 
string GetDisplayName ()
 
Vector3 GetFwdVector ()
 
string GetName ()
 
Vector3 GetObtVelocity ()
 
Orbit GetOrbit ()
 
OrbitDriver GetOrbitDriver ()
 
Vector3 GetSrfVelocity ()
 
VesselTargetModes GetTargetingMode ()
 
Transform GetTransform ()
 
Vessel GetVessel ()
 
 PositionTarget (string name)
 
 PositionTarget (string name, string displayName)
 
void Update (CelestialBody body, double latitude, double longitude)
 
void Update (CelestialBody body, double latitude, double longitude, double altitude)
 
void Update (Vector3d position)
 Call this every frame to make sure the target transform stays up to date More...
 

Detailed Description

Via Sarbian with permission

Constructor & Destructor Documentation

PositionTarget.PositionTarget ( string  name)
inline
PositionTarget.PositionTarget ( string  name,
string  displayName 
)
inline

Member Function Documentation

bool PositionTarget.GetActiveTargetable ( )
inline

Implements ITargetable.

string PositionTarget.GetDisplayName ( )
inline

Implements ITargetable.

Vector3 PositionTarget.GetFwdVector ( )
inline

Implements ITargetable.

string PositionTarget.GetName ( )
inline

Implements ITargetable.

Vector3 PositionTarget.GetObtVelocity ( )
inline

Implements ITargetable.

Orbit PositionTarget.GetOrbit ( )
inline

Implements ITargetable.

OrbitDriver PositionTarget.GetOrbitDriver ( )
inline

Implements ITargetable.

Vector3 PositionTarget.GetSrfVelocity ( )
inline

Implements ITargetable.

VesselTargetModes PositionTarget.GetTargetingMode ( )
inline

Implements ITargetable.

Transform PositionTarget.GetTransform ( )
inline

Implements ITargetable.

Vessel PositionTarget.GetVessel ( )
inline

Implements ITargetable.

void PositionTarget.Update ( CelestialBody  body,
double  latitude,
double  longitude 
)
inline
void PositionTarget.Update ( CelestialBody  body,
double  latitude,
double  longitude,
double  altitude 
)
inline
void PositionTarget.Update ( Vector3d  position)
inline

Call this every frame to make sure the target transform stays up to date

Parameters
position

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