#include <TextureBox.hpp>
|
| ::osg::Node * | create (float px, float py, float pz, float sx, float sy, std::string filename="scene.png") |
| |
| osg::Node * vizkit3d::TextureBox::create |
( |
float |
px, |
|
|
float |
py, |
|
|
float |
pz, |
|
|
float |
sx, |
|
|
float |
sy, |
|
|
std::string |
filename = "scene.png" |
|
) |
| |
|
static |
Creates a new sub scene graph for a textured box.
- Parameters
-
| px | the origin of the box (x) |
| py | the origin of the box (y) |
| pz | the origin of the box (z) |
| sx | The size of the box in x direction |
| sy | The size of the box in y direction |
| filename | The filename of the texture to be loaded |
- Returns
- The root node of the created sub graph
The documentation for this class was generated from the following files: