ScummVM API documentation
Grim::Light Struct Reference

#include <set.h>

Public Types

enum  LightType { Omni = 1, Spot = 2, Direct = 3, Ambient = 4 }
 

Public Member Functions

void load (TextSplitter &ts)
 
void loadBinary (Common::SeekableReadStream *data)
 
void saveState (SaveGame *savedState) const
 
bool restoreState (SaveGame *savedState)
 
void setIntensity (float intensity)
 
void setUmbra (float angle)
 
void setPenumbra (float angle)
 

Public Attributes

Common::String _name
 
LightType _type
 
Math::Vector3d _pos
 
Math::Vector3d _dir
 
Color _color
 
float _intensity
 
float _umbraangle
 
float _penumbraangle
 
float _falloffNear
 
float _falloffFar
 
float _scaledintensity
 
float _cosumbraangle
 
float _cospenumbraangle
 
bool _enabled
 
int _id
 

Detailed Description

Set lighting data


The documentation for this struct was generated from the following file: