示例#1
0
 public void Focus(int nodeIndex, GreatCircleCamera camera)
 {
     referenceNodeIndex = nodeIndex;
     if (!AnchorToNodes)
     {
         var graph = GetGraph();
         camera.CenterOfOrbit = ((SpatialNode)graph.Nodes[nodeIndex]).Position;
     }
 }
示例#2
0
 public void Focus(int nodeIndex, GreatCircleCamera camera)
 {
     referenceNodeIndex = nodeIndex;
     if (!AnchorToNodes)
     {
         var graph = GetGraph();
         camera.CenterOfOrbit = ((SpatialNode)graph.Nodes[nodeIndex]).Position;
     }
 }