public void Draw(GuiWidget sender, DrawEventArgs e, Matrix4X4 itemMaxtrix, WorldView world) { // RenderSceneTraceData var bvhIterator = new BvhIterator(scene?.TraceData(), decentFilter: (x) => { var center = x.Bvh.GetCenter(); var worldCenter = Vector3Ex.Transform(center, x.TransformToWorld); if (worldCenter.Z > 0) { return(true); } return(false); }); InteractionLayer.RenderBounds(e, world, bvhIterator); }