Click or drag to resize

SelectionBoxManagerEnableController Method

선택상자 크기 변경 컨트롤 축별 활성화/비활성화

Namespace: VIZCore3D.NET.Manager
Assembly: VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.910 (2.8.24.910)
Syntax
C#
public void EnableController(
	bool xAxis,
	bool yAxis,
	bool zAxis
)

Parameters

xAxis  Boolean
X Axis
yAxis  Boolean
Y Axis
zAxis  Boolean
Z Axis
Example
C#
// 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;
}
See Also