Tundra uses the (Scene-)Entity-Component(-Attribute) model: an object (Entity) itself doesn't have any data or functionality whatsoever. All data (stored in Attributes) and functionality of an Entity is added by using the Entity-Components (http://doc.meshmoon.com/doxygen/component_base.html): Mesh, Placeable, RigidBody etc. DynamicComponent can be used to add arbitrary data to an Entity as Toni mentioned.
On Fri, Oct 18, 2013 at 4:55 PM, Toni Alatalo <[email protected]> wrote: > On Oct 18, 2013, at 3:20 PM, Jari Kahelin <[email protected]> wrote: > > I'm pretty new to realXtend and virtual world platforms generally. I > started in a research project short time ago which relates to usage of > semantic data in virtual world platforms. Reading through the realXtend > documentation and testing the platform myself, it seems that there is not a > way to add metadata to the objects nor reflect the relationships between > the objects. > > In Tundra you can add arbitrary data to objects easily using the > DynamicComponent component type, > http://doc.meshmoon.com/doxygen/webrocket/classes/tundra.EC_DynamicComponent.html > > For a specific type of custom data you can also create a new EC type and > define a static set of attributes for that. This is currently only possibly > with C++ code but perhaps in the future we'll provide easier means for that > too (like just declaring the type with a JSON declaration or via some JS > API). > > > Jari > > ~Toni > > -- > -- > http://groups.google.com/group/realxtend > http://www.realxtend.org > --- > You received this message because you are subscribed to the Google Groups > "realXtend" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- http://groups.google.com/group/realxtend http://www.realxtend.org --- You received this message because you are subscribed to the Google Groups "realXtend" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
