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

#include <data.hpp>

Inheritance diagram for Nif::NiTriShapeData:
Collaboration diagram for Nif::NiTriShapeData:

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::DrawElementsUShort > 
triangles
 
- Public Attributes inherited from Nif::ShapeData
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::NiTriShapeData::read ( NIFStream nif)
virtual

Parses the record from file.

Reimplemented from Nif::ShapeData.

Here is the call graph for this function:

Member Data Documentation

osg::ref_ptr<osg::DrawElementsUShort> Nif::NiTriShapeData::triangles

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