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::ShapeData Class Reference

#include <data.hpp>

Inheritance diagram for Nif::ShapeData:
Collaboration diagram for Nif::ShapeData:

Public Member Functions

void read (NIFStream *nif)
 Parses the record from file. More...
 
- Public Member Functions inherited from Nif::Record
 Record ()
 
virtual void post (NIFFile *nif)
 Does post-processing, after the entire tree is loaded. More...
 
virtual ~Record ()
 

Public Attributes

std::vector< osg::Vec3f > vertices
 
std::vector< osg::Vec3f > normals
 
std::vector< osg::Vec4f > colors
 
std::vector< std::vector
< osg::Vec2f > > 
uvlist
 
osg::Vec3f center
 
float radius
 
- Public Attributes inherited from Nif::Record
int recType
 
std::string recName
 
size_t recIndex
 

Member Function Documentation

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

Parses the record from file.

Implements Nif::Record.

Reimplemented in Nif::NiRotatingParticlesData, Nif::NiAutoNormalParticlesData, and Nif::NiTriShapeData.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

osg::Vec3f Nif::ShapeData::center
std::vector<osg::Vec4f> Nif::ShapeData::colors
std::vector<osg::Vec3f> Nif::ShapeData::normals
float Nif::ShapeData::radius
std::vector< std::vector<osg::Vec2f> > Nif::ShapeData::uvlist
std::vector<osg::Vec3f> Nif::ShapeData::vertices

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