NL3D::CLodCharacterShape::CAnim Struct Reference


Detailed Description

A lod Animation.

Definition at line 231 of file lod_character_shape.h.

Public Member Functions

void serial (NLMISC::IStream &f)

Data Fields

float AnimLength
 The effective time of the animation.

std::vector< CVector3sKeys
 List of Keys * NumVertices.

std::string Name
 Name of the Anim.

uint32 NumKeys
 The number of Keys.

float OOAnimLength
CVector UnPackScaleFactor
 The Scale factor to be multiplied to transform CVector3s to CVector.


Member Function Documentation

void NL3D::CLodCharacterShape::CAnim::serial NLMISC::IStream f  ) 
 

Definition at line 481 of file lod_character_shape.cpp.

References OOAnimLength, NLMISC::IStream::serial(), NLMISC::IStream::serialCont(), NLMISC::IStream::serialVersion(), and UnPackScaleFactor.

00482 {
00483         (void)f.serialVersion(0);
00484 
00485         f.serial(Name);
00486         f.serial(NumKeys);
00487         f.serial(AnimLength);
00488         f.serial(OOAnimLength);
00489         f.serial(UnPackScaleFactor);
00490         f.serialCont(Keys);
00491 }


Field Documentation

float NL3D::CLodCharacterShape::CAnim::AnimLength
 

The effective time of the animation.

Definition at line 238 of file lod_character_shape.h.

Referenced by NL3D::CLodCharacterShape::addAnim(), and NL3D::CLodCharacterShape::getAnimKey().

std::vector<CVector3s> NL3D::CLodCharacterShape::CAnim::Keys
 

List of Keys * NumVertices.

Definition at line 244 of file lod_character_shape.h.

Referenced by NL3D::CLodCharacterShape::addAnim(), and NL3D::CLodCharacterShape::getAnimKey().

std::string NL3D::CLodCharacterShape::CAnim::Name
 

Name of the Anim.

Definition at line 234 of file lod_character_shape.h.

Referenced by NL3D::CLodCharacterShape::addAnim().

uint32 NL3D::CLodCharacterShape::CAnim::NumKeys
 

The number of Keys.

Definition at line 236 of file lod_character_shape.h.

Referenced by NL3D::CLodCharacterShape::addAnim(), and NL3D::CLodCharacterShape::getAnimKey().

float NL3D::CLodCharacterShape::CAnim::OOAnimLength
 

Definition at line 239 of file lod_character_shape.h.

Referenced by NL3D::CLodCharacterShape::addAnim(), NL3D::CLodCharacterShape::getAnimKey(), and serial().

CVector NL3D::CLodCharacterShape::CAnim::UnPackScaleFactor
 

The Scale factor to be multiplied to transform CVector3s to CVector.

Definition at line 241 of file lod_character_shape.h.

Referenced by NL3D::CLodCharacterShape::addAnim(), NL3D::CLodCharacterShape::getAnimKey(), and serial().


The documentation for this struct was generated from the following files:
Generated on Tue Mar 16 06:49:59 2004 for NeL by doxygen 1.3.6