#include <skybox.h>

Public Member Functions | |
| FixedFunctionProfile () | |
| void | Config (osg::Group *pNode) |
| Private method that actually creates the SkyBox geometry. | |
| void | SetTexture (SkyBox::SkyBoxSideEnum side, const std::string &filename) |
| Pass in the filenames for the textures to be applied to the SkyBox. | |
Protected Member Functions | |
| osg::Node * | MakeBox () |
| Make the box and load the textures. | |
Protected Attributes | |
| dtCore::RefPtr< osg::Geode > | mGeode |
| dtCore::RefPtr < dtCore::MoveEarthySkyWithEyePointTransform > | mXform |
| dtCore::RefPtr< osg::Texture2D > | mTextureList [6] |
| SkyBox::FixedFunctionProfile::FixedFunctionProfile | ( | ) |
| void dtCore::SkyBox::FixedFunctionProfile::Config | ( | osg::Group * | pNode | ) | [virtual] |
Private method that actually creates the SkyBox geometry.
It is assumed that the textures have already been assigned.
Implements dtCore::SkyBox::RenderProfile.
| void dtCore::SkyBox::FixedFunctionProfile::SetTexture | ( | SkyBox::SkyBoxSideEnum | side, | |
| const std::string & | filename | |||
| ) | [virtual] |
Pass in the filenames for the textures to be applied to the SkyBox.
Implements dtCore::SkyBox::RenderProfile.
| osg::Node * dtCore::SkyBox::FixedFunctionProfile::MakeBox | ( | ) | [protected] |
Make the box and load the textures.
dtCore::RefPtr<osg::Geode> dtCore::SkyBox::FixedFunctionProfile::mGeode [protected] |
dtCore::RefPtr<dtCore::MoveEarthySkyWithEyePointTransform> dtCore::SkyBox::FixedFunctionProfile::mXform [protected] |
dtCore::RefPtr<osg::Texture2D> dtCore::SkyBox::FixedFunctionProfile::mTextureList[6] [protected] |