Name | Type | Description |
---|---|---|
viewer |
DitapViewer | 사용할 DitapViewer 인스턴스. The DitapViewer instance to use. |
editObjArray |
Array.<Object> | 팝업에 표시할 추가적인 객체 배열. An array of objects that configure the popup features. |
Example:
// 1. 모델 추가 버튼을 생성하고 설정을 활성화
const viewer = new Ditap.DitapViewer("ditapContainer");
const editObjArray = [new PopupInput3D(viewer), new DrawingTypePicker(viewer)];
new Ditap.DitapAddModelButton(viewer, editObjArray);
Methods
팝업 닫기.
Closes the model add popup.
위젯 파괴.
Destroys the toggle button widget.
팝업 열기.
Opens the model add popup.
팝업 상태 업데이트.
Update the popup state.