Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 29, 2012, 4:16:17 PM (12 years ago)
Author:
davidsa
Message:

Added some documentation to orxonox::Scene

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/shaders/src/orxonox/Scene.h

    r6417 r9420  
    2828 */
    2929
     30/**
     31@file Scene.h
     32@brief Definition of Scene Class
     33*/
     34
    3035#ifndef _Scene_H__
    3136#define _Scene_H__
     
    4853    {
    4954        public:
     55            /**
     56            @brief
     57                This class holds a Scene which is a collection of all kinds of objects to be rendered in the same space,
     58                with the same physics and the same light properties. Objects can be anything from a light source, over non physical objects
     59                like Billboards to just plain Models with an attached Mesh
     60            */
    5061            Scene(BaseObject* creator);
    5162            virtual ~Scene();
     
    94105                { this->setShadow(this->bShadows_); }
    95106
    96             Ogre::SceneManager*      sceneManager_;
    97             Ogre::SceneNode*         rootSceneNode_;
     107            Ogre::SceneManager*      sceneManager_; //!< This is a pointer to the Ogre SceneManager we're using to render the Scene
     108            Ogre::SceneNode*         rootSceneNode_; //!< This is a pointer to the root node of the Scene tree
    98109
    99             std::string              skybox_;
    100             ColourValue              ambientLight_;
    101             std::list<BaseObject*>   objects_;
    102             bool                     bShadows_;
    103             float                    soundReferenceDistance_;
    104             Radar*                   radar_;
     110            std::string              skybox_; //!< This string holds information about the skybox we're using
     111            ColourValue              ambientLight_; //!< This variable holds the color value for the ambient light in our scene, usually black in space
     112            std::list<BaseObject*>   objects_; //!< This list holds all the objects created in our scene
     113            bool                     bShadows_; //!< Do we want shadows in our scene?
     114            float                    soundReferenceDistance_; //!< This holds a reference distance, which represents the distance between our scene and the listener
     115            Radar*                   radar_; //!< This is a pointer to a Radar object assigned with this scene
    105116
    106117
Note: See TracChangeset for help on using the changeset viewer.