mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-09 22:27:40 +00:00
42
include/WorldFormat/CWorldLight.hpp
Normal file
42
include/WorldFormat/CWorldLight.hpp
Normal file
@@ -0,0 +1,42 @@
|
||||
#ifndef _CWORLDLIGHT
|
||||
#define _CWORLDLIGHT
|
||||
|
||||
|
||||
#include "Kyoto/Math/CVector3f.hpp"
|
||||
#include "Kyoto/Graphics/CLight.hpp"
|
||||
|
||||
class CInputStream;
|
||||
class CWorldLight {
|
||||
static const CVector3f kDefaultPosition;
|
||||
static const CVector3f kDefaultDirection;
|
||||
public:
|
||||
|
||||
enum EWorldLightType {
|
||||
kWLT_LocalAmbient,
|
||||
kWLT_Directional,
|
||||
kWLT_Custom,
|
||||
kWLT_Spot,
|
||||
kWLT_Spot2,
|
||||
kWLT_LocalAmbient2,
|
||||
};
|
||||
|
||||
CWorldLight(CInputStream& in);
|
||||
|
||||
|
||||
CLight GetAsCGraphicsLight() const;
|
||||
public:
|
||||
EWorldLightType x0_type;
|
||||
CVector3f x4_color;
|
||||
CVector3f x10_position;
|
||||
CVector3f x1c_direction;
|
||||
float x28_q;
|
||||
float x2c_cutoffAngle;
|
||||
float x30_;
|
||||
bool x34_castShadows;
|
||||
float x38_;
|
||||
EFalloffType x3c_falloff;
|
||||
float x40_;
|
||||
};
|
||||
|
||||
|
||||
#endif // _CWORLDLIGHT
|
||||
Reference in New Issue
Block a user