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
CameraFXModules.Fade Class Reference
Inheritance diagram for CameraFXModules.Fade:
CameraFXModules.CameraFXModule

Public Member Functions

 Fade (CameraFXModule fxModule, float duration, float falloff=1f)
 
override void OnFXAdded (CameraFXCollection host)
 
override void OnFXRemoved (CameraFXCollection host)
 
override Vector3 UpdateLocalPosition (Vector3 defaultPos, Vector3 currPos, float m, Views viewMask)
 
override Quaternion UpdateLocalRotation (Quaternion defaultRot, Quaternion currRot, float m, Views viewMask)
 
- Public Member Functions inherited from CameraFXModules.CameraFXModule
 CameraFXModule (string id, Views views, float rotFactor=1f, float linFactor=1f)
 
virtual string GetModuleID ()
 
virtual bool IsActive ()
 

Public Attributes

float duration
 
float falloff
 
float fxScale
 
float T
 
float T0
 
- Public Attributes inherited from CameraFXModules.CameraFXModule
string id
 
float linFactor
 
float rotFactor
 
Views views
 

Constructor & Destructor Documentation

CameraFXModules.Fade.Fade ( CameraFXModule  fxModule,
float  duration,
float  falloff = 1f 
)
inline

Member Function Documentation

override void CameraFXModules.Fade.OnFXAdded ( CameraFXCollection  host)
inlinevirtual
override void CameraFXModules.Fade.OnFXRemoved ( CameraFXCollection  host)
inlinevirtual
override Vector3 CameraFXModules.Fade.UpdateLocalPosition ( Vector3  defaultPos,
Vector3  currPos,
float  m,
Views  viewMask 
)
inlinevirtual
override Quaternion CameraFXModules.Fade.UpdateLocalRotation ( Quaternion  defaultRot,
Quaternion  currRot,
float  m,
Views  viewMask 
)
inlinevirtual

Member Data Documentation

float CameraFXModules.Fade.duration
float CameraFXModules.Fade.falloff
float CameraFXModules.Fade.fxScale
float CameraFXModules.Fade.T
float CameraFXModules.Fade.T0

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