Example #1
0
 public override bool GetLocalBoundingBox(ref BoundingBox bbox)
 {
     PathNodeShape[] nodes = this.PathNodes;
       if (nodes == null || nodes.Length == 0)
     return false;
       bbox = new BoundingBox();
       foreach (PathNodeShape node in nodes)
     bbox.AddPoint(node.LocalSpacePosition);
       bbox.AddBorder(5.0f * EditorManager.Settings.GlobalUnitScaling);
       return true;
 }