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

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
 

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
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

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