Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
DirectionTarget Class Reference
Inheritance diagram for DirectionTarget:
PositionTarget ITargetable

Public Member Functions

 DirectionTarget (string name)
 
 DirectionTarget (string name, string displayName)
 
new void Update (Vector3d direction)
 
void Update (Vessel v, double pitch, double heading, bool degrees=false)
 
- Public Member Functions inherited from PositionTarget
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...
 

Public Attributes

Vector3d direction
 

Constructor & Destructor Documentation

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

Member Function Documentation

new void DirectionTarget.Update ( Vector3d  direction)
inline
void DirectionTarget.Update ( Vessel  v,
double  pitch,
double  heading,
bool  degrees = false 
)
inline

Member Data Documentation

Vector3d DirectionTarget.direction

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