Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 16, 2012, 3:30:20 PM (12 years ago)
Author:
davidsa
Message:

Orxonox::Mesh: Added functions setMaterial() and getMaterial() to easily attach a material/shader to a Mesh via the provided functions in Ogre::Entity and Ogre::SubEntity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/shaders/src/libraries/tools/Mesh.h

    r5781 r9401  
    4848            const std::string& getName() const;
    4949
     50            void setMaterial(const std::string& name);
     51            const std::string& getMaterial() const;
     52
    5053            void setVisible(bool bVisible);
    5154            bool isVisible() const;
Note: See TracChangeset for help on using the changeset viewer.