Are there plans to add an interface to get the bounds of visible entities (ones with geometry that is rendered)?
Seems like something a lot of developers would need for moving the camera around - centering scenes, handling standard camera views (top, left, right, etc.), zooming in to a specific object, etc.. If we do have to do it outside the framework, what would be the general approach? I haven't quite figured out how to do it with the current public API. I have a QEntity-derived class, and I wanted to look for QGeometryRenderer/QTransform components being added to it, hook in to their signals, and calculate & store the info on the entity. But as far as I can tell there's no way for an entity to receive notification that components are added/removed. The addComponent() and removeComponent() methods aren't virtual so I can't override them either. Is there an easier approach that I'm missing? Thanks! --- Andy Maloney // https://asmaloney.com twitter ~ @asmaloney <https://twitter.com/asmaloney>
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest