Hello Carsten, >> 4. How can I iterate over the materials contained in a VariantMaterial? > > you can use: > const SFMaterialPtrMap *VariantMaterial::getSFMaterialStore(void) const; > The returned SField stores a std::map<MaterialMapKey, PrimeMaterial *>. > I did overlook this function. I was writing a method that visits all chunk materials in a given material and therefore I was forced to look into the variant material too.
Best, Johannes ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users