SelectionBoxManagerAdd Method (BoundBox3D, Color, Color, String) |
Namespace: VIZCore3D.NET.Manager
public int Add( BoundBox3D boundBox, Color face, Color line, string title )
private VIZCore3D.NET.VIZCore3DControl vizcore3d; private void AddSelectionBox() { VIZCore3D.NET.Data.BoundBox3D boundBox = vizcore3d.Model.BoundBox; string title = "Box #1"; int id = vizcore3d.SelectionBox.Add( boundBox , Color.White , Color.Black , title ); vizcore3d.SelectionBox.Select(id); }