Falcon
Public Member Functions | List of all members
Scene::SceneGraph Class Reference

#include <SceneGraph.h>

Public Member Functions

 SceneGraph (const char *sceneFilePath)
 
 ~SceneGraph ()
 
entityVectorGetRenderables ()
 
entityVectorGetEntities ()
 
entityVectorGetOctreeEntities ()
 
void UpdateScene ()
 

Detailed Description

Data Structure that holds the data and implementaion for a SceneGraph.

Constructor & Destructor Documentation

◆ SceneGraph()

Scene::SceneGraph::SceneGraph ( const char *  sceneFilePath)

Main Contructor For SceneGraph. Loads the data and from the provided Json Scene file and constructs the scene.

Parameters
[in]Pathto the scene file.

◆ ~SceneGraph()

Scene::SceneGraph::~SceneGraph ( )

Main Destructor for the SceneGarph.

Member Function Documentation

◆ GetEntities()

entityVector* Scene::SceneGraph::GetEntities ( )
inline

◆ GetOctreeEntities()

entityVector& Scene::SceneGraph::GetOctreeEntities ( )
inline

◆ GetRenderables()

entityVector& Scene::SceneGraph::GetRenderables ( )
inline

◆ UpdateScene()

void Scene::SceneGraph::UpdateScene ( )

Update function for the Scene Graph. Iterates through all direct children of the rootnode and updates them.


The documentation for this class was generated from the following files: