Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
SpaceNavigatorCamera Class Referenceabstract
Inheritance diagram for SpaceNavigatorCamera:
SpaceNavigatorFreeCamera SpaceNavigatorLocalCamera

Public Member Functions

void LateUpdate ()
 
void OnCameraRequestControl ()
 
abstract void OnCameraUpdate ()
 
abstract void OnCameraWantsControl ()
 
abstract void OnGetControl ()
 

Public Attributes

bool collideWithStuff = true
 
bool HasInputControl
 
bool latchToDisabledCamera
 
float MaxRadius = 1000f
 
float standoffRadius = 1f
 
float translateSpeed = 1f
 
bool UseMaxRadius
 

Protected Member Functions

Vector3 clampToRadius (Vector3 rPos)
 
Vector3 getNextTranslation (Transform cam, Vector3 nextStep, float epsilon=0.0001f)
 

Protected Attributes

Func< bool > cameraWantsControl
 
List< IKSPCameracams
 
IKSPCamera kspCam
 
float sensLin = 20f
 
float sensRot = 30f
 
float sharpnessLin = 18f
 
float sharpnessRot = 18f
 

Member Function Documentation

Vector3 SpaceNavigatorCamera.clampToRadius ( Vector3  rPos)
inlineprotected
Vector3 SpaceNavigatorCamera.getNextTranslation ( Transform  cam,
Vector3  nextStep,
float  epsilon = 0.0001f 
)
inlineprotected
void SpaceNavigatorCamera.LateUpdate ( )
inline
void SpaceNavigatorCamera.OnCameraRequestControl ( )
inline
abstract void SpaceNavigatorCamera.OnCameraUpdate ( )
pure virtual
abstract void SpaceNavigatorCamera.OnCameraWantsControl ( )
pure virtual
abstract void SpaceNavigatorCamera.OnGetControl ( )
pure virtual

Member Data Documentation

Func<bool> SpaceNavigatorCamera.cameraWantsControl
protected
List<IKSPCamera> SpaceNavigatorCamera.cams
protected
bool SpaceNavigatorCamera.collideWithStuff = true
bool SpaceNavigatorCamera.HasInputControl
IKSPCamera SpaceNavigatorCamera.kspCam
protected
bool SpaceNavigatorCamera.latchToDisabledCamera
float SpaceNavigatorCamera.MaxRadius = 1000f
float SpaceNavigatorCamera.sensLin = 20f
protected
float SpaceNavigatorCamera.sensRot = 30f
protected
float SpaceNavigatorCamera.sharpnessLin = 18f
protected
float SpaceNavigatorCamera.sharpnessRot = 18f
protected
float SpaceNavigatorCamera.standoffRadius = 1f
float SpaceNavigatorCamera.translateSpeed = 1f
bool SpaceNavigatorCamera.UseMaxRadius

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