Difference between revisions of "DB/CameraMode"

From wowdev
Jump to: navigation, search
m (Struct)
m
 
Line 29: Line 29:
 
   Simple  = 0x4
 
   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
  
 
[[Category:DBC]]
 
[[Category:DBC]]
 
[[Category:DBC_WoD]][[Category:6.0.1.18179]]
 
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

Latest revision as of 12:35, 16 June 2019

≥ 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