Inherited class from osg::Referenced. Stores information about the camera and can be referenced by osg::ref_ptr.
More...
#include <OSGCloudWrap.h>
Inherited class from osg::Referenced. Stores information about the camera and can be referenced by osg::ref_ptr.
osg::Vec3f CloudDataType::getCameraPos |
( |
void |
| ) |
|
|
inline |
Returns the position of the camera.
- Returns
- The position of the camera.
osg::Vec3f CloudDataType::getCameraUp |
( |
void |
| ) |
|
|
inline |
Returns the 'Up' direction of the camera.
- Returns
- The 'Up' direction of the camera.
osg::Vec3f CloudDataType::getCameraView |
( |
void |
| ) |
|
|
inline |
Returns the direction in which the camera is looking.
- Returns
- The direction in which the camera is looking.
void CloudDataType::setCameraData |
( |
const osg::Vec3f & |
cameraPos, |
|
|
const osg::Vec3f & |
cameraView, |
|
|
const osg::Vec3f & |
cameraUp |
|
) |
| |
|
inline |
Updates the information about the camera on the new values given by parameters.
- Parameters
-
[in] | cameraPos | Position of the camera. |
[in] | cameraView | Direction in which the camera is looking. |
[in] | cameraUp | The 'Up' direction of the camera. |
The documentation for this class was generated from the following file:
- C:/Documents/School/OSG/VRECKO/include/vreckoAP/Nature/Clouds/OSGCloudWrap.h