Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Query if bounding box is visible

Discussion in 'General Graphics' started by Guedez, Jun 16, 2020.

  1. Guedez


    Jun 1, 2012
    I am manually filling a huge array of things to draw with
    . These objects are organized into small pockets of them each with their own bounding boxes, they are neither entities nor game objects, they are just a bunch of objects in an octree. I am currently occluding any group of objects outside the camera planes, but I also want to occlude them out using the occlusion engine.
    Is there a way to query the occlusion engine to know if a given bounding box is visible to the camera?