GetSelected
public bool GetSelected(int id)
공간의 선택 여부를 반환합니다.
Parameters
| Name | Type | Description |
|---|---|---|
| id | int | 공간 아이디 |
Returns
| Type | Description |
|---|---|
| bool | 선택되어 있으면 true |
Examples
// VIZCore3DX.NET Control
private VIZCore3DX.NET.VIZCore3DXControl vizcore3dx;
public void Example()
{
System.Collections.Generic.List<int> ids = vizcore3dx.Zone.GetIDs();
if (ids.Count == 0) return;
System.Diagnostics.Debug.WriteLine($"Selected : {vizcore3dx.Zone.GetSelected(ids[0])}");
}