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

Static Public Member Functions

static bool AnyCameraInputDown ()
 
static Vector3 GetCamCoordsFromPosition (Vector3 wPos, Vector3 refPos, Quaternion referenceRotation)
 Returns a Vector3 containing the relative pitch (X), heading (Y) and distance (Z) from the given reference position and rotation More...
 
static float GetDistanceToFit (Vector3 objSize, float cameraFOV)
 
static float GetDistanceToFit (float largestDimmension, float cameraFOV, int pixelWidth)
 

Member Function Documentation

static bool KSPCameraUtil.AnyCameraInputDown ( )
inlinestatic
static Vector3 KSPCameraUtil.GetCamCoordsFromPosition ( Vector3  wPos,
Vector3  refPos,
Quaternion  referenceRotation 
)
inlinestatic

Returns a Vector3 containing the relative pitch (X), heading (Y) and distance (Z) from the given reference position and rotation

static float KSPCameraUtil.GetDistanceToFit ( Vector3  objSize,
float  cameraFOV 
)
inlinestatic
static float KSPCameraUtil.GetDistanceToFit ( float  largestDimmension,
float  cameraFOV,
int  pixelWidth 
)
inlinestatic

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