OpenMW
Public Member Functions | Public Attributes
Nif::ShapeData Class Reference

#include <data.hpp>

List of all members.

Public Member Functions

void read (NIFStream *nif)
 Parses the record from file.

Public Attributes

std::vector< Ogre::Vector3 > vertices
std::vector< Ogre::Vector3 > normals
std::vector< Ogre::Vector4 > colors
std::vector< std::vector
< Ogre::Vector2 > > 
uvlist
Ogre::Vector3 center
float radius

Member Function Documentation

void Nif::ShapeData::read ( NIFStream nif) [inline, virtual]

Parses the record from file.

Implements Nif::Record.

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


Member Data Documentation

Ogre::Vector3 Nif::ShapeData::center
std::vector<Ogre::Vector4> Nif::ShapeData::colors
std::vector<Ogre::Vector3> Nif::ShapeData::normals
std::vector< std::vector<Ogre::Vector2> > Nif::ShapeData::uvlist
std::vector<Ogre::Vector3> Nif::ShapeData::vertices

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