DB/CameraMode: Difference between revisions

From wowdev
Jump to navigation Jump to search
(Created page with 'New in Cataclysm. Category:DBC')
 
mNo edit summary
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
New in Cataclysm.
__TOC__
 
{{Template:Sandbox/VersionRange|min_expansionlevel=4}}
 
 
==unknown cata-6.0.1.18179==
===Struct===
struct CameraModeRec {
  uint32_t m_ID;
  {{Template:Type|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


[[Category:DBC]]
[[Category:DBC]]
[[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