public void SetVisibility(bool isVisible) { for (int i = 0; i < BoundingBoxRootList.Count; i++) { IBoundingBoxRoot boundingBoxRoot = BoundingBoxRootList[i]; boundingBoxRoot.SetVisible(isVisible); } }
public void SetHighLight(Transform activeHandle, bool hideOtherHandle) { for (int i = 0; i < BoundingBoxRootList.Count; i++) { IBoundingBoxRoot boundingBoxRoot = BoundingBoxRootList[i]; boundingBoxRoot.SetHighLight(activeHandle, hideOtherHandle); } }
private void Redraw() { if (BoundingBoxRootList == null) { return; } RecaculateBounds(); for (int i = 0; i < BoundingBoxRootList.Count; i++) { IBoundingBoxRoot boundingBoxRoot = BoundingBoxRootList[i]; boundingBoxRoot.ReDraw(); } }