Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Types | Public Member Functions | Public Attributes | List of all members
CutsceneCamera.CameraKeyFrame Class Reference

Public Types

enum  Easing {
  Easing.Linear, Easing.SinLerp, Easing.CosLerp, Easing.Hermite,
  Easing.Berp
}
 

Public Member Functions

void EvalEvents (float normT)
 
Vector3 EvalPos (float normT)
 
Quaternion EvalRot (float normT)
 

Public Attributes

float duration = 1f
 for reordering in the inspector and such More...
 
Easing EaseToNextFrameMode = Easing.Hermite
 
List< CameraKeyFrameEventframeEvents
 
int index
 
CameraKeyFrame nextFrm
 
Transform refTrf
 

Member Enumeration Documentation

Enumerator
Linear 
SinLerp 
CosLerp 
Hermite 
Berp 

Member Function Documentation

void CutsceneCamera.CameraKeyFrame.EvalEvents ( float  normT)
inline
Vector3 CutsceneCamera.CameraKeyFrame.EvalPos ( float  normT)
inline
Quaternion CutsceneCamera.CameraKeyFrame.EvalRot ( float  normT)
inline

Member Data Documentation

float CutsceneCamera.CameraKeyFrame.duration = 1f

for reordering in the inspector and such

Easing CutsceneCamera.CameraKeyFrame.EaseToNextFrameMode = Easing.Hermite
List<CameraKeyFrameEvent> CutsceneCamera.CameraKeyFrame.frameEvents
int CutsceneCamera.CameraKeyFrame.index
CameraKeyFrame CutsceneCamera.CameraKeyFrame.nextFrm
Transform CutsceneCamera.CameraKeyFrame.refTrf

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