Advertisement
Hattiwatti

Untitled

May 14th, 2016
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 KB | None | 0 0
  1. class LocalLightEntityData
  2. {
  3. public:
  4. BYTE Pad000[0x10];
  5. int ID;
  6. BYTE Pad014[0xC];
  7. fb::LinearTransform m_transform;
  8. fb::Vec3 m_color;
  9. fb::Vec3 m_enlightenColorScale;
  10. fb::Vec3 m_particleColorScale;
  11. float m_radius;
  12. float m_intensity;
  13. float m_attenuationOffset;
  14. fb::EnlightenColorMode m_enlightenColorMode;
  15. bool m_visible;
  16. bool m_directLightEnable;
  17. bool m_specularEnable;
  18. bool m_enlightenEnable;
  19. BYTE Pad0A4[0xC];
  20. };
  21.  
  22. class LocalLightEntity
  23. {
  24. public:
  25. virtual void GetTypeinfo();
  26. virtual void Function2();
  27. virtual void Function3();
  28. virtual void Function4();
  29. virtual void Update(DWORD*);
  30.  
  31. INT64 m_pNext;
  32. INT64 m_pPrev;
  33. BYTE Pad018[0x10];
  34. fb::LocalLightEntityData* m_localLightEntityData;
  35. BYTE Pad030[0x18];
  36. fb::Vec3* m_color;
  37. fb::LinearTransform m_transform;
  38. BYTE Pad090[0x8];
  39. fb::Vec3* m_enlightenColorScale;
  40. BYTE Pad0A0[0x8];
  41. fb::Vec3* m_particleColorScale;
  42. BYTE Pad0B0[0x8];
  43. float* m_radius;
  44. BYTE Pad0C0[0x8];
  45. float* m_intensity;
  46. BYTE Pad0D0[0x10];
  47. };
  48.  
  49. class PointLightEntityData : public LocalLightEntityData
  50. {
  51. public:
  52. float m_width;
  53. float m_translucencyAmbient;
  54. float m_translucencyScale;
  55. float m_translucencyPower;
  56. float m_translucencyDistortion;
  57. };
  58.  
  59. class PointLightEntity : public LocalLightEntity
  60. {
  61. public:
  62. };
  63.  
  64. class SpotLightEntityData : public LocalLightEntityData
  65. {
  66. public:
  67.  
  68. fb::SpotLightShape m_shape;
  69. float m_coneInnerAngle;
  70. float m_coneOuterAngle;
  71. float m_frustrumFov;
  72. float m_frustrumAspect;
  73. float m_orthoWidth;
  74. float m_orthoHeight;
  75. float m_nearPlane;
  76. DWORD64 m_texture;
  77. fb::QualityScalableEnabled m_castShadows;
  78. float m_shadowRadius;
  79. float m_shadowCullDistance;
  80. fb::QualityScalableEnabled m_frustrumAsCone;
  81. float m_frustrumAsConeIntensityScale;
  82. fb::QualityLevel m_castShadowsMinLevel;
  83. bool m_frustrumAsConeAngle;
  84. bool m_castShadowsEnable;
  85. };
  86.  
  87. class SpotLightEntity : public LocalLightEntity
  88. {
  89. public:
  90. fb::DxTexture* m_texture;
  91. BYTE Pad0D4[0x8];
  92. bool* m_visible;
  93. BYTE Pad0F4[0x8];
  94. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement