EnableController
Overloads
| Name | Description |
|---|---|
| EnableController(bool xAxis, bool yAxis, bool zAxis) | 선택상자 크기 변경 컨트롤 축별 활성화/비활성화 |
EnableController(bool xAxis, bool yAxis, bool zAxis)
public void EnableController(bool xAxis, bool yAxis, bool zAxis)
선택상자 크기 변경 컨트롤 축별 활성화/비활성화
Parameters
| Name | Type | Description |
|---|---|---|
| xAxis | bool | X Axis |
| yAxis | bool | Y Axis |
| zAxis | bool | Z Axis |
Examples
// 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;
}