Click or drag to resize

SelectionBoxManagerAdd Method (BoundBox3D, Color, Color, String)

선택상자 추가

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public int Add(
	BoundBox3D boundBox,
	Color face,
	Color line,
	string title
)

Parameters

boundBox
Type: VIZCore3D.NET.DataBoundBox3D
바운드 박스
face
Type: System.DrawingColor
Face Color
line
Type: System.DrawingColor
Line Color
title
Type: SystemString
Title

Return Value

Type: Int32
선택상자 아이디(ID)
Examples
C#
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);
}
See Also