void OnDrawGizmos() { if (pointTree != null) { pointTree.DrawAllBounds(); // Draw node boundaries pointTree.DrawAllObjects(); // Mark object positions } }
public static void DrawOctree() { lock (octree) { octree.DrawAllBounds(); octree.DrawAllObjects(); } }
void OnDrawGizmos() { if (!Application.isPlaying && pointOctree is null) { return; } pointOctree.DrawAllBounds(); pointOctree.DrawAllObjects(); }
private void OnDrawGizmos() { if (tree != null) { tree.DrawAll(drawNodes, drawObjects, drawConnections, drawLabels); } if (pointTree != null) { pointTree.DrawAllBounds(); } }
void OnDrawGizmos() { if (debugPoints) { po.DrawAllObjects(); } if (debugBounds) { po.DrawAllBounds(); } }
void OnDrawGizmos() { if (boundsTree != null) { boundsTree.DrawAllBounds(); // Draw node boundaries boundsTree.DrawAllObjects(); // Draw object boundaries boundsTree.DrawCollisionChecks(); // Draw the last *numCollisionsToSave* collision check boundaries } if (pointTree != null) { pointTree.DrawAllBounds(); // Draw node boundaries pointTree.DrawAllObjects(); // Mark object positions } }
void OnDrawGizmos() { if (po == null) { return; } if (debugBounds) { po.DrawAllBounds(); } if (debugObjects) { po.DrawAllObjects(); } }
void OnDrawGizmos() { if (KinectPCL.instance == null) { return; } PointOctree <PCLPoint> po = KinectPCL.instance.bodyTree; if (po == null) { return; } if (debugPoints) { po.DrawAllObjects(); } if (debugBounds) { po.DrawAllBounds(); } }
void OnDrawGizmos() { BoundsOctree <GameObject> boundsTree = new BoundsOctree <GameObject>(15, MyContainer.position, 1, 1.5f); PointOctree <GameObject> pointTree = new PointOctree <GameObject>(15, MyContainer.position, 1.0f); for (int i = 0; i < myObject.Count; i++) { boundsTree.Add(myObject[i], myBounds); boundsTree.DrawAllBounds(); // Draw node boundaries Gizmos.color = Color.yellow; Gizmos.DrawSphere(transform.position, radius); boundsTree.DrawAllObjects(); // Draw object boundaries //.DrawCollisionChecks(); // Draw the last *numCollisionsToSave* collision check boundaries pointTree.DrawAllBounds(); // Draw node boundaries pointTree.DrawAllObjects(); // Mark object positions if (track[i]) { myBounds.center = track[i].position; } } }
// temp void OnDrawGizmos() { tree.DrawAllBounds(); // Draw node boundaries tree.DrawAllObjects(); // Mark object positions }