Attaching automatically manageable resource to SceneNode

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
Post Reply
User avatar
BohdanKornienko
Halfling
Posts: 40
Joined: Sat Nov 01, 2014 10:26 pm

Attaching automatically manageable resource to SceneNode

Post by BohdanKornienko » Thu Dec 22, 2016 12:20 am

I wonder if it is possible to pass shared pointer on unique pointer to AttachObject (maybe there implemented in OGRE).
Like so

Code: Select all

void Ogre::SceneNode::AttachObject(std::shared_ptr<Ogre::Entity> object);
And if not it would very nice to have this feature in future.
0 x

Post Reply