OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
SceneUtil::MorphGeometry::MorphTarget Class Reference

#include <morphgeometry.hpp>

Collaboration diagram for SceneUtil::MorphGeometry::MorphTarget:

Public Member Functions

 MorphTarget (osg::Vec3Array *offsets, float w=1.0)
 
void setWeight (float weight)
 
float getWeight () const
 
osg::Vec3Array * getOffsets ()
 
const osg::Vec3Array * getOffsets () const
 
void setOffsets (osg::Vec3Array *offsets)
 

Protected Attributes

osg::ref_ptr< osg::Vec3Array > mOffsets
 
float mWeight
 

Constructor & Destructor Documentation

SceneUtil::MorphGeometry::MorphTarget::MorphTarget ( osg::Vec3Array *  offsets,
float  w = 1.0 
)
inline

Member Function Documentation

osg::Vec3Array* SceneUtil::MorphGeometry::MorphTarget::getOffsets ( )
inline
const osg::Vec3Array* SceneUtil::MorphGeometry::MorphTarget::getOffsets ( ) const
inline
float SceneUtil::MorphGeometry::MorphTarget::getWeight ( ) const
inline
void SceneUtil::MorphGeometry::MorphTarget::setOffsets ( osg::Vec3Array *  offsets)
inline
void SceneUtil::MorphGeometry::MorphTarget::setWeight ( float  weight)
inline

Member Data Documentation

osg::ref_ptr<osg::Vec3Array> SceneUtil::MorphGeometry::MorphTarget::mOffsets
protected
float SceneUtil::MorphGeometry::MorphTarget::mWeight
protected

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