IView

C++
struct IView {
  struct SShakeParams {
    Ang3 shakeAngle;
    Vec3 shakeShift;
    float sustainDuration;
    float fadeInDuration;
    float fadeOutDuration;
    float frequency;
    float randomness;
    int shakeID;
    bool bFlipVec;
    bool bUpdateOnly;
    bool bGroundOnly;
    bool bPermanent;
    bool isSmooth;
  };
};
File

IViewSystem.h

IView::SShakeParams Structure
C++
struct SShakeParams {
  Ang3 shakeAngle;
  Vec3 shakeShift;
  float sustainDuration;
  float fadeInDuration;
  float fadeOutDuration;
  float frequency;
  float randomness;
  int shakeID;
  bool bFlipVec;
  bool bUpdateOnly;
  bool bGroundOnly;
  bool bPermanent;
  bool isSmooth;
};
File

IViewSystem.h

IView::SShakeParams::bFlipVec Data Member
C++
bool bFlipVec;
IView::SShakeParams::bGroundOnly Data Member
C++
bool bGroundOnly;
IView::SShakeParams::bPermanent Data Member
C++
bool bPermanent;
Description

if true, sustainDuration is ignored

IView::SShakeParams::bUpdateOnly Data Member
C++
bool bUpdateOnly;
IView::SShakeParams::fadeInDuration Data Member
C++
float fadeInDuration;
IView::SShakeParams::fadeOutDuration Data Member
C++
float fadeOutDuration;
IView::SShakeParams::frequency Data Member
C++
float frequency;
IView::SShakeParams::isSmooth Data Member
C++
bool isSmooth;
IView::SShakeParams::randomness Data Member
C++
float randomness;
IView::SShakeParams::shakeAngle Data Member
C++
Ang3 shakeAngle;
IView::SShakeParams::shakeID Data Member
C++
int shakeID;
IView::SShakeParams::shakeShift Data Member
C++
Vec3 shakeShift;
IView::SShakeParams::sustainDuration Data Member
C++
float sustainDuration;
IView::SShakeParams::SShakeParams Constructor
C++
SShakeParams();
IView::~IView Destructor
C++
virtual ~IView();
IView::GetCurrentParams Method
C++
virtual const SViewParams * GetCurrentParams() = 0;
IView::GetLinkedId Method
C++
virtual EntityId GetLinkedId() = 0;
IView::LinkTo Method (IEntity *)
C++
virtual void LinkTo(IEntity * follow) = 0;
IView::LinkTo Method (IGameObject *)
C++
virtual void LinkTo(IGameObject * follow) = 0;
IView::Release Method
C++
virtual void Release() = 0;
IView::ResetBlending Method
C++
virtual void ResetBlending() = 0;
IView::ResetShaking Method
C++
virtual void ResetShaking() = 0;
IView::SetActive Method
C++
virtual void SetActive(bool const bActive) = 0;
IView::SetCurrentParams Method
C++
virtual void SetCurrentParams(SViewParams & params) = 0;
IView::SetFrameAdditiveCameraAngles Method
C++
virtual void SetFrameAdditiveCameraAngles(const Ang3& addFrameAngles) = 0;
IView::SetScale Method
C++
virtual void SetScale(const float scale) = 0;
IView::SetViewShake Method
C++
virtual void SetViewShake(Ang3 shakeAngle, Vec3 shakeShift, float duration, float frequency, float randomness, int shakeID, bool bFlipVec = true, bool bUpdateOnly = false, bool bGroundOnly = false) = 0;
IView::SetViewShakeEx Method
C++
virtual void SetViewShakeEx(const SShakeParams& params) = 0;
IView::SetZoomedScale Method
C++
virtual void SetZoomedScale(const float scale) = 0;
IView::StopShake Method
C++
virtual void StopShake(int shakeID) = 0;
IView::Update Method
C++
virtual void Update(float frameTime, bool isActive) = 0;