24 #ifndef OPENMW_COMPONENTS_NIF_EFFECT_HPP
25 #define OPENMW_COMPONENTS_NIF_EFFECT_HPP
37 unsigned int numAffectedNodes = nif->
getUInt();
38 for (
unsigned int i=0; i<numAffectedNodes; ++i)
Definition: effect.hpp:87
Definition: niffile.hpp:17
Definition: effect.hpp:88
Definition: effect.hpp:78
float quadraticAttenuation
Definition: effect.hpp:58
Definition: effect.hpp:32
void read(NIFStream *nif)
Parses the record from file.
Definition: effect.cpp:18
Definition: effect.hpp:90
void read(NIFStream *nif)
Parses the record from file.
Definition: effect.cpp:8
osg::Vec3f diffuse
Definition: effect.hpp:48
osg::Vec3f ambient
Definition: effect.hpp:47
CoordGenType
Definition: effect.hpp:84
Definition: effect.hpp:77
void read(NIFStream *nif)
Parses the record from file.
Definition: node.hpp:38
float constantAttenuation
Definition: effect.hpp:56
Definition: effect.hpp:54
float dimmer
Definition: effect.hpp:46
float cutoff
Definition: effect.hpp:65
float exponent
Definition: effect.hpp:66
CoordGenType coordGenType
Definition: effect.hpp:92
void read(NIFStream *nif)
Parses the record from file.
Definition: effect.cpp:55
void read(NIFStream *nif)
Parses the record from file.
Definition: effect.cpp:64
TextureType
Definition: effect.hpp:75
unsigned int clamp
Definition: effect.hpp:73
Definition: effect.hpp:79
Definition: effect.hpp:70
void post(NIFFile *nif)
Does post-processing, after the entire tree is loaded.
Definition: effect.cpp:49
float linearAttenuation
Definition: effect.hpp:57
Definition: effect.hpp:86
Definition: effect.hpp:80
Definition: effect.hpp:89
Definition: nifstream.hpp:26
unsigned int getUInt()
Definition: nifstream.hpp:48
Definition: effect.hpp:63
void read(NIFStream *nif)
Parses the record from file.
Definition: effect.hpp:34
NiSourceTexturePtr texture
Definition: effect.hpp:72
Definition: effect.hpp:44
TextureType textureType
Definition: effect.hpp:82
osg::Vec3f specular
Definition: effect.hpp:49