ShapeDrawing
AddBox
Box 생성
Example
Parameters
Name | Type | Description |
---|---|---|
v1 | VIZCore.Vector3 | min 좌표 |
v2 | VIZCore.Vector3 | max 좌표 |
color | VIZCore.Color | Color |
Returns
Type | Description |
---|---|
Number | ID |
AddBoxByBox
Box 생성
Example
Parameters
Name | Type | Description |
---|---|---|
bbox | VIZCore.BBox | boundbox |
color | VIZCore.Color | Color |
Returns
Type | Description |
---|---|
Number | ID |
AddCylinder
Cylinder 생성
Example
Parameters
Name | Type | Description |
---|---|---|
v1 | VIZCore.Vector3 | 좌표1 |
v2 | VIZCore.Vector3 | 좌표2 |
radius | Number | Cylinder Radius |
color | VIZCore.Color | Color |
Returns
Type | Description |
---|---|
Number | ID |
AddPanel
평판 생성
Example
Parameters
Name | Type | Description |
---|---|---|
center | VIZCore.Vector3 | 중심 위치 |
normal | VIZCore.Vector3 | 방향 |
width | float | 너비 |
length | float | 길이 |
color | VIZCore.Color | Color |
Returns
Type | Description |
---|---|
Number | ID |
Clear
개체 전체 삭제
Example
Delete
개체 삭제
Example
Parameters
Name | Type | Description |
---|---|---|
itemID | Number | 개체 ID |
EnableUseSelection
개체 선택 가능 설정
Example
Parameters
Name | Type | Description |
---|---|---|
itemID | Array | 개체 ID |
enable | Boolean | 선택 가능여부 (true = 선택가능, false = 불가능) |
Select
개체 선택
Example
Parameters
Name | Type | Description |
---|---|---|
itemID | Array | 개체 ID |
selection | Boolean | 선택 |
Show
개체 보이기/숨기기
Example
Parameters
Name | Type | Description |
---|---|---|
itemID | Array | 개체 ID |
visible | Boolean | 보이기/숨기기 |