DB/CameraMode

From wowdev
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

≥ Cata


unknown cata-6.0.1.18179

Struct

struct CameraModeRec {
  uint32_t m_ID;
  stringref m_name;
  uint32_t m_type;                               // CCameraModeType
  uint32_t m_flags;
  float m_positionOffset[3];
  float m_targetOffset[3];
  float m_positionSmoothing;
  float m_rotationSmoothing;
  float m_fieldOfView;
  uint32_t m_lockedPositionOffsetBase;
  uint32_t m_lockedPositionOffsetDirection;
  uint32_t m_lockedTargetOffsetBase;
  uint32_t m_lockedTargetOffsetDirection;
};

enum CCameraModeType
{
  Legacy   = 0x1,
  Locked   = 0x2,
  Animated = 0x3,
  Simple   = 0x4
};

Hardcoded cameras

  • debug animated: type = 3, flags = 0x80
  • debug scripted: type = 4, flags = 0
  • scene null: type = 4, flags = 0
  • gluescreen default: type = 4, flags = 0
  • debug glue screen one shot: 4, flags = 0x1000