OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Types | Private Attributes | List of all members
NifOsg::GravityAffector Class Reference

#include <particle.hpp>

Inheritance diagram for NifOsg::GravityAffector:
Collaboration diagram for NifOsg::GravityAffector:

Public Member Functions

 GravityAffector (const Nif::NiGravity *gravity)
 
 GravityAffector ()
 
 GravityAffector (const GravityAffector &copy, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 

Private Types

enum  ForceType { Type_Wind, Type_Point }
 

Private Attributes

float mForce
 
ForceType mType
 
osg::Vec3f mPosition
 
osg::Vec3f mDirection
 
float mDecay
 
osg::Vec3f mCachedWorldPosition
 
osg::Vec3f mCachedWorldDirection
 

Member Enumeration Documentation

Enumerator
Type_Wind 
Type_Point 

Constructor & Destructor Documentation

NifOsg::GravityAffector::GravityAffector ( const Nif::NiGravity gravity)
NifOsg::GravityAffector::GravityAffector ( )
NifOsg::GravityAffector::GravityAffector ( const GravityAffector copy,
const osg::CopyOp &  copyop = osg::CopyOp::SHALLOW_COPY 
)

Member Data Documentation

osg::Vec3f NifOsg::GravityAffector::mCachedWorldDirection
private
osg::Vec3f NifOsg::GravityAffector::mCachedWorldPosition
private
float NifOsg::GravityAffector::mDecay
private
osg::Vec3f NifOsg::GravityAffector::mDirection
private
float NifOsg::GravityAffector::mForce
private
osg::Vec3f NifOsg::GravityAffector::mPosition
private
ForceType NifOsg::GravityAffector::mType
private

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