DB/CameraMode

From wowdev
Revision as of 12:35, 16 June 2019 by Schlumpf (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

≥ 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