OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
Nif::NiNode Struct Reference

#include <node.hpp>

Inheritance diagram for Nif::NiNode:
Collaboration diagram for Nif::NiNode:

Public Types

enum  Flags { Flag_Hidden = 0x0001, Flag_MeshCollision = 0x0002, Flag_BBoxCollision = 0x0004 }
 
enum  BSAnimFlags { AnimFlag_AutoPlay = 0x0020 }
 
enum  BSParticleFlags { ParticleFlag_AutoPlay = 0x0020, ParticleFlag_LocalSpace = 0x0080 }
 
enum  ControllerFlags { ControllerFlag_Active = 0x8 }
 

Public Member Functions

void read (NIFStream *nif)
 Parses the record from file. More...
 
void post (NIFFile *nif)
 Does post-processing, after the entire tree is loaded. More...
 
- Public Member Functions inherited from Nif::Node
void makeRootBone (const Transformation *tr)
 
void makeBone (short ind, const NiSkinData::BoneInfo &bi)
 
- Public Member Functions inherited from Nif::Record
 Record ()
 
virtual ~Record ()
 

Public Attributes

NodeList children
 
NodeList effects
 
- Public Attributes inherited from Nif::Node
int flags
 
Transformation trafo
 
osg::Vec3f velocity
 
PropertyList props
 
bool hasBounds
 
osg::Vec3f boundPos
 
Matrix3 boundRot
 
osg::Vec3f boundXYZ
 
NiNodeparent
 
const TransformationboneTrafo
 
const NiSkinData::BoneInfoboneInfo
 
short boneIndex
 
- Public Attributes inherited from Nif::Named
std::string name
 
- Public Attributes inherited from Nif::Controlled
ControllerPtr controller
 
- Public Attributes inherited from Nif::Extra
ExtraPtr extra
 
- Public Attributes inherited from Nif::Record
int recType
 
std::string recName
 
size_t recIndex
 

Member Enumeration Documentation

Enumerator
AnimFlag_AutoPlay 
Enumerator
ParticleFlag_AutoPlay 
ParticleFlag_LocalSpace 
Enumerator
ControllerFlag_Active 
Enumerator
Flag_Hidden 
Flag_MeshCollision 
Flag_BBoxCollision 

Member Function Documentation

void Nif::NiNode::post ( NIFFile nif)
inlinevirtual

Does post-processing, after the entire tree is loaded.

Reimplemented from Nif::Node.

Here is the call graph for this function:

void Nif::NiNode::read ( NIFStream nif)
inlinevirtual

Parses the record from file.

Reimplemented from Nif::Node.

Reimplemented in Nif::NiLODNode, and Nif::NiSwitchNode.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

NodeList Nif::NiNode::children
NodeList Nif::NiNode::effects

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