[Request] Missing UserObject for Renderable class

JoshStribling

10-03-2010 21:14:09

Ogre has setUserAny & getUserAny functions that allow you to attach user objects to both MovableObject & Renderable types

In Mogre, this seems to be supported with the UserObject property in the MovableObject class.

However, there does not appear to be any support for this in the Renderable class / IRenderable interface.


Can you please add support for the following property in Renderable & IRenderable:
public object UserObject {get; set; }


Links:
http://www.ogre3d.org/docs/api/html/classOgre_1_1MovableObject.html#b07068e26732de24aaf24330e9d0ec81
http://www.ogre3d.org/docs/api/html/classOgre_1_1Renderable.html#ab6c834f05d7ad973e22ef726461cfb18

*Note: This seems to be deprecated in Ogre in favor of UserObjectBindings, however a simple UserObject should work fine in C#
The UserObject fits nicely with the concept of Tags used throught C#

Here is a link to a posting in the main forum describing where this functionality is need:
http://www.ogre3d.org/forums/viewtopic.php?f=2&t=56141


Thanks in advance,
- Josh