These are chat archives for highfidelity/hifi

Sep 2016
David Rowe
Sep 06 2016 23:29
I'm thinking of adding an optional "inView" parameter to the following two API methods:
EntityScriptingInterface::findEntities(const glm::vec3& center, float radius) EntityScriptingInterface::findEntitiesInBox(const glm::vec3& corner, const glm::vec3& dimensions)
Setting inView to true would filter the results to return only entities that are currently in view.... Unless there's a better way to get a list of entities in view?
Ryan Huffman
Sep 06 2016 23:33
No strong opinion, but it sounds like a new function might be better
Actually, I think you will have a hard time with that, because the presence of the entity scripting interface doesn't necessarily imply the presence of a "view"