OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
MWRender::OverrideFieldOfViewCallback Class Reference
Inheritance diagram for MWRender::OverrideFieldOfViewCallback:
Collaboration diagram for MWRender::OverrideFieldOfViewCallback:

Public Member Functions

 OverrideFieldOfViewCallback (float fov)
 
virtual void operator() (osg::Node *node, osg::NodeVisitor *nv)
 

Private Attributes

float mFov
 

Detailed Description

Overrides Field of View to given value for rendering the subgraph. Must be added as cull callback.

Constructor & Destructor Documentation

MWRender::OverrideFieldOfViewCallback::OverrideFieldOfViewCallback ( float  fov)
inline

Member Function Documentation

virtual void MWRender::OverrideFieldOfViewCallback::operator() ( osg::Node *  node,
osg::NodeVisitor *  nv 
)
inlinevirtual

Member Data Documentation

float MWRender::OverrideFieldOfViewCallback::mFov
private

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