Page 1 of 1

Attaching automatically manageable resource to SceneNode

Posted: Thu Dec 22, 2016 12:20 am
by BohdanKornienko
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.