|
0.45.0
|
#include <iRenderEngineOld.h>
Public Member Functions | |
| iRenderEngineOld ()=default | |
| virtual | ~iRenderEngineOld ()=default |
| void | setBoundingBoxVisible (bool boundingBox=true) |
| bool | isBoundingBoxVisible () const |
| void | setOctreeVisible (bool octree=true) |
| bool | isOctreeVisible () const |
| void | setColorIDRendering (bool enabled=true) |
| bool | isColorIDRendering () const |
| void | setScene (iScenePtr scene) |
| iScenePtr | getScene () const |
| void | setCamera (iNodeID cameraID) |
| iNodeID | getCamera () const |
| void | render () |
| void | addMesh (iMeshPtr mesh, iMaterialPtr material, const iaMatrixd &matrix) |
feeds the renderer with pre filtered data
|
default |
does nothing
|
virtualdefault |
does nothing
| void igor::iRenderEngineOld::addMesh | ( | iMeshPtr | mesh, |
| iMaterialPtr | material, | ||
| const iaMatrixd & | matrix | ||
| ) |
add mesh for render
| mesh | the mesh to add |
| material | the material to use on the mesh |
| matrix | the transform where to render the mesh at |
| iNodeID igor::iRenderEngineOld::getCamera | ( | ) | const |
| iScenePtr igor::iRenderEngineOld::getScene | ( | ) | const |
| bool igor::iRenderEngineOld::isBoundingBoxVisible | ( | ) | const |
| bool igor::iRenderEngineOld::isColorIDRendering | ( | ) | const |
| bool igor::iRenderEngineOld::isOctreeVisible | ( | ) | const |
| void igor::iRenderEngineOld::render | ( | ) |
culls and renders
| void igor::iRenderEngineOld::setBoundingBoxVisible | ( | bool | boundingBox = true | ) |
defines if bounding boxes are shown or not
| boundingBox | if true bounding boxes are shown |
| void igor::iRenderEngineOld::setCamera | ( | iNodeID | cameraID | ) |
sets current camera by id
| cameraID | the camery id |
| void igor::iRenderEngineOld::setColorIDRendering | ( | bool | enabled = true | ) |
sets if the nodes should be rendered with solely their colorid
| enabled | if true nodes will be rendered with their color id |
| void igor::iRenderEngineOld::setOctreeVisible | ( | bool | octree = true | ) |
defines if octree is shown or not
| octree | if true octree is shown |
| void igor::iRenderEngineOld::setScene | ( | iScenePtr | scene | ) |
sets the scene to render with
| scene | scene to render |