On Sep 26, 2012, at 9:08 PM, Peter C. wrote:
> I was wondering if anyone had any knowledge of how to implement a entity 
> component with an array of groups of properties. I'm trying to implement an 
> ogre terrain entity component, however in order to properly implement it, I 
> need to implement an array that can be expanded as needed of groups of 
> textures/materials. I was wondering if A. this functionality was possible in 
> RealXtend,

EC_Mesh has an array of materials in the attributes,
in 
https://github.com/realXtend/naali/blob/tundra2/src/Core/OgreRenderingModule/EC_Mesh.h#L161
    /// Mesh material asset reference list, material requests are handled 
automatically.
    Q_PROPERTY(AssetReferenceList meshMaterial READ getmeshMaterial WRITE 
setmeshMaterial);
    DEFINE_QPROPERTY_ATTRIBUTE(AssetReferenceList, meshMaterial);

> Peter

~Toni

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org

Reply via email to