EvilEngine/DYNA/effect:light
< EvilEngine | DYNA
effect:light | |
---|---|
Hash | 0x5EAB97E1 |
Games used | Rise of the Underminer Ratatouille Prototype |
Format
struct xLightAsset : xDynAsset
{
eLightType lightType;
uint32 lightEffectID;
float32 lightEffectSpeed;
uint32 lightFlags;
_xFColor lightColor;
xSphere lightSphere;
uint32 attachID;
uint32 lightCardID;
float32 lightCardScale;
};
enum eLightType
{
eLightType_Ambient,
eLightType_Spotlight,
eLightType_Directional,
eLightType_Point
};
struct xSphere
{
xVec3 center;
float32 r;
};
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | eLightType | lightType | |
0x04 | AssetID | lightEffectID | |
0x08 | float32 | lightEffectSpeed | |
0x0C | uint32 | lightFlags | |
0x10 | float32 | redMult | |
0x14 | float32 | greenMult | |
0x18 | float32 | blueMult | |
0x1C | float32 | seeThru | |
0x20 | Vector3 | center | |
0x2C | float32 | r | |
0x30 | AssetID | attachID | |
0x34 | AssetID | lightCardID | |
0x38 | float32 | lightCardScale |