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 | |
osg::ref_ptr< osg::Vec3Array > | vertices |
osg::ref_ptr< osg::Vec3Array > | normals |
osg::ref_ptr< osg::Vec4Array > | colors |
std::vector< osg::ref_ptr < osg::Vec2Array > > | 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 |
osg::ref_ptr<osg::Vec4Array> Nif::ShapeData::colors |
osg::ref_ptr<osg::Vec3Array> Nif::ShapeData::normals |
float Nif::ShapeData::radius |
std::vector< osg::ref_ptr<osg::Vec2Array> > Nif::ShapeData::uvlist |
osg::ref_ptr<osg::Vec3Array> Nif::ShapeData::vertices |