SelectionBoxManagerEnableController Method |
Namespace: VIZCore3D.NET.Manager
public void EnableController( bool xAxis, bool yAxis, bool zAxis )
// VIZCore3D.NET Control private VIZCore3D.NET.VIZCore3DControl vizcore3d; private void Example() { int boxId = 1; /* Selection Box ID */ vizcore3d.SelectionBox.Select(boxId); /* Select */ vizcore3d.SelectionBox.Focus(boxId); /* Focus */ // Control Resize Controller vizcore3d.SelectionBox.EnableController( true /* X Axis. */ , true /* Y Axis. */ , false /* Z Axis. */ ); // Get Status VIZCore3D.NET.Data.SelectionBoxController status = vizcore3d.SelectionBox.GetControllerStatus(); bool x = status.XAxis; bool y = status.YAxis; bool z = status.ZAxis; }