These are chat archives for highfidelity/hifi

6th
Sep 2016
David Rowe
@ctrlaltdavid
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
@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"