#include <controller.hpp>
|
void | reset () |
| Reset mStateSets, forcing a setDefaults() on the next frame. Can be used to change the defaults if needed. More...
|
|
NifOsg::AlphaController::AlphaController |
( |
| ) |
|
NifOsg::AlphaController::AlphaController |
( |
const AlphaController & |
copy, |
|
|
const osg::CopyOp & |
copyop |
|
) |
| |
void NifOsg::AlphaController::apply |
( |
osg::StateSet * |
stateset, |
|
|
osg::NodeVisitor * |
nv |
|
) |
| |
|
virtual |
Apply state - to override in derived classes
- Note
- Due to the double buffering approach you have to apply all state even if it has not changed since the last frame.
Reimplemented from SceneUtil::StateSetUpdater.
void NifOsg::AlphaController::setDefaults |
( |
osg::StateSet * |
stateset | ) |
|
|
virtual |
Set default state - optionally override in derived classes
- May be used e.g. to allocate StateAttributes.
Reimplemented from SceneUtil::StateSetUpdater.
The documentation for this class was generated from the following files: