OpenMW
|
Detaches the node from its parent when the object goes out of scope. More...
#include <animation.hpp>
Public Member Functions | |
PartHolder (osg::ref_ptr< osg::Node > node) | |
~PartHolder () | |
void | unlink () |
Unreferences mNode without detaching it from the graph. Only use if you know what you are doing. More... | |
osg::ref_ptr< osg::Node > | getNode () |
Private Member Functions | |
void | operator= (const PartHolder &) |
PartHolder (const PartHolder &) | |
Private Attributes | |
osg::ref_ptr< osg::Node > | mNode |
Detaches the node from its parent when the object goes out of scope.
MWRender::PartHolder::PartHolder | ( | osg::ref_ptr< osg::Node > | node | ) |
MWRender::PartHolder::~PartHolder | ( | ) |
|
private |
|
inline |
|
private |
void MWRender::PartHolder::unlink | ( | ) |
Unreferences mNode without detaching it from the graph. Only use if you know what you are doing.
|
private |