Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2011, 12:28:31 AM (13 years ago)
Author:
marwegma
Message:

Godrays: Safety commit. 90017 N8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/environment2/src/orxonox/worldentities/WorldEntity.h

    r7910 r8557  
    199199            void attachToNode(Ogre::SceneNode* node);
    200200            void detachFromNode(Ogre::SceneNode* node);
     201           
     202            void attachShader(GodrayShader* object);
     203            void detachShader(GodrayShader* object);
     204            GodrayShader* getAttachedShader(unsigned int index);
     205            inline const std::set<WorldEntity*>& getAttachedShaders() const
     206            { return this->shaders_; }
    201207
    202208            inline void setDeleteWithParent(bool value)
     
    234240            unsigned int parentID_;
    235241            std::set<WorldEntity*> children_;
     242            std::set<WorldEntity*> shaders_;
    236243            bool bDeleteWithParent_;
    237244
Note: See TracChangeset for help on using the changeset viewer.