samplecode里面双击startup.exe找到我要的情况,但是他显示示例代码的位置 我在文件夹中找不到
使用跟踪图层即可实现。例如:
sceneControl.TrackMode = TrackMode3D.Track; sceneControl.MouseClick += new MouseEventHandler(mouse_Click); sceneControl.Tracking += new Tracking3DEventHandler(track_On); sceneControl.Tracked += new Tracked3DEventHandler(track_End); private void track_On(Object sender, Tracking3DEventArgs e) { curPoint = new Point3D(e.X, e.Y, e.Z); } Point3D curPoint;