OpenMW
|
#include <data.hpp>
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 |
|
virtual |
Parses the record from file.
Implements Nif::Record.
Reimplemented in Nif::NiRotatingParticlesData, Nif::NiAutoNormalParticlesData, and Nif::NiTriShapeData.
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 |