OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
Nif::NiLight Struct Reference

#include <effect.hpp>

Inheritance diagram for Nif::NiLight:
Collaboration diagram for Nif::NiLight:

Public Member Functions

void read (NIFStream *nif)
 Parses the record from file. More...
 
- Public Member Functions inherited from Nif::Node
void read (NIFStream *nif)
 Parses the record from file. More...
 
void post (NIFFile *nif)
 Does post-processing, after the entire tree is loaded. More...
 
void makeRootBone (const Transformation *tr)
 
void makeBone (short ind, const NiSkinData::BoneInfo &bi)
 
- Public Member Functions inherited from Nif::Record
 Record ()
 
virtual ~Record ()
 

Public Attributes

float dimmer
 
osg::Vec3f ambient
 
osg::Vec3f diffuse
 
osg::Vec3f specular
 
- Public Attributes inherited from Nif::Node
int flags
 
Transformation trafo
 
osg::Vec3f velocity
 
PropertyList props
 
bool hasBounds
 
osg::Vec3f boundPos
 
Matrix3 boundRot
 
osg::Vec3f boundXYZ
 
NiNodeparent
 
const TransformationboneTrafo
 
const NiSkinData::BoneInfoboneInfo
 
short boneIndex
 
- Public Attributes inherited from Nif::Named
std::string name
 
- Public Attributes inherited from Nif::Controlled
ControllerPtr controller
 
- Public Attributes inherited from Nif::Extra
ExtraPtr extra
 
- Public Attributes inherited from Nif::Record
int recType
 
std::string recName
 
size_t recIndex
 

Member Function Documentation

void Nif::NiLight::read ( NIFStream nif)
virtual

Parses the record from file.

Reimplemented from Nif::NiDynamicEffect.

Reimplemented in Nif::NiSpotLight, and Nif::NiPointLight.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

osg::Vec3f Nif::NiLight::ambient
osg::Vec3f Nif::NiLight::diffuse
float Nif::NiLight::dimmer
osg::Vec3f Nif::NiLight::specular

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