コード例 #1
0
ファイル: BoundingBox.cs プロジェクト: Skodeva/SDK4
 public void SetVisibility(bool isVisible)
 {
     for (int i = 0; i < BoundingBoxRootList.Count; i++)
     {
         IBoundingBoxRoot boundingBoxRoot = BoundingBoxRootList[i];
         boundingBoxRoot.SetVisible(isVisible);
     }
 }
コード例 #2
0
ファイル: BoundingBox.cs プロジェクト: Skodeva/SDK4
 public void SetHighLight(Transform activeHandle, bool hideOtherHandle)
 {
     for (int i = 0; i < BoundingBoxRootList.Count; i++)
     {
         IBoundingBoxRoot boundingBoxRoot = BoundingBoxRootList[i];
         boundingBoxRoot.SetHighLight(activeHandle, hideOtherHandle);
     }
 }
コード例 #3
0
ファイル: BoundingBox.cs プロジェクト: Skodeva/SDK4
    private void Redraw()
    {
        if (BoundingBoxRootList == null)
        {
            return;
        }

        RecaculateBounds();
        for (int i = 0; i < BoundingBoxRootList.Count; i++)
        {
            IBoundingBoxRoot boundingBoxRoot = BoundingBoxRootList[i];
            boundingBoxRoot.ReDraw();
        }
    }