#include <scene.h>

Public Member Functions | |
| Scene (const char *id) | |
| virtual | ~Scene () |
| void | SetViewport (const Viewport &viewport) |
| void | SetProjection (const Projection &projection) |
| void | SetSorting (bool sorting) |
| virtual void | AddObject (SceneObject *object) |
| void | RemoveObject (SceneObject *object) |
| void | RemoveAllObjects () |
| bool | HasObject (SceneObject *object) |
| void | RenderObject (SceneObject *object, bool set_projection=true, bool all_features=false) |
Protected Member Functions | |
| virtual void | Render () |
| virtual void | SortObjects () |
| virtual void | CalculatePosition (const vector3 &object_position, vector3 &proj_position) |
Protected Attributes | |
| Ref< Root > | objects |
| uint_t | objects_count |
| Viewport | viewport |
| Projection | projection |
| bool | sorting |
Friends | |
| class | SceneServer |
| Scene::Scene | ( | const char * | id | ) |
Constructor.
| Scene::~Scene | ( | ) | [virtual] |
Destructor.
| void Scene::SetViewport | ( | const Viewport & | viewport | ) | [inline] |
| void Scene::SetProjection | ( | const Projection & | projection | ) | [inline] |
| void Scene::SetSorting | ( | bool | sorting | ) | [inline] |
| void Scene::AddObject | ( | SceneObject * | object | ) | [virtual] |
| void Scene::RemoveObject | ( | SceneObject * | object | ) |
| void Scene::RemoveAllObjects | ( | ) | [inline] |
| bool Scene::HasObject | ( | SceneObject * | object | ) | [inline] |
| void Scene::RenderObject | ( | SceneObject * | object, | |
| bool | set_projection = true, |
|||
| bool | all_features = false | |||
| ) |
| void Scene::Render | ( | ) | [protected, virtual] |
| void Scene::SortObjects | ( | ) | [protected, virtual] |
Reimplemented in IsoScene.
| void Scene::CalculatePosition | ( | const vector3 & | object_position, | |
| vector3 & | proj_position | |||
| ) | [protected, virtual] |
Reimplemented in IsoScene.
friend class SceneServer [friend] |
Ref<Root> Scene::objects [protected] |
uint_t Scene::objects_count [protected] |
Viewport Scene::viewport [protected] |
Projection Scene::projection [protected] |
bool Scene::sorting [protected] |
1.5.3