Model
Add
여러개의 단일 VIZW(VIZWeb3D) 모델 열기
단일 VIZW 모델들을 Array 형태로 여러개의 모델을 열 수 있습니다.
Example
Parameters
Name | Type | Description |
---|---|---|
models | Array | URI Array |
AddHeader
여러개의 분할 VIZW(VIZWide3D) 모델 열기
분할 VIZW 모델들을 Array 형태로 여러개의 모델을 열 수 있습니다.
Example
Parameters
Name | Type | Description |
---|---|---|
models | Array | URI Array |
Close
모델 닫기
Example
CloseFile
특정 모델 닫기
Example
Parameters
Name | Type | Description |
---|---|---|
fileKeys |
| File Key |
GetBoundBox
로딩된 모델의 BoundBox 반환
Example
Returns
Type | Description |
---|---|
VIZCore.BBox | BoundBox |
GetOpenFiles
파일 목록 반환
Example
Returns
Type | Description |
---|---|
Array | Open File Keys |
Open
단일 VIZW 모델 파일 열기
Example
Parameters
Name | Type | Description |
---|---|---|
model | string | URI String |
OpenHeader
분할 VIZW 모델 파일 열기
Example
Parameters
Name | Type | Description |
---|---|---|
model | String | URI |
key | String | File Key(지정하지 않으면 Guid 생성) |
onLoad | function | 개별 다운로드 이벤트 (Key) - 지정하지 않는 경우 OnModelOpenedEvent() 호출 |
--- Event Listener ---
OnModelOpenedEvent
모델 열기 이벤트 등록
Example
Parameters
Name | Type | Description |
---|---|---|
listener | Object | Event Listener |
OnPropertyCompletedEvent
속성정보 로딩 완료 이벤트 등록
Example
Parameters
Name | Type | Description |
---|---|---|
listener | Object | Event Listener |
OnStreamProgressChangedEvent
모델 로딩 프로그레스 이벤트 등록
Example
Parameters
Name | Type | Description |
---|---|---|
listener | Object | Event Listener |
OnStructureCompletedEvent
구조정보 로딩 완료 이벤트 등록
Example
Parameters
Name | Type | Description |
---|---|---|
listener | Object | Event Listener |
OnExceptionEvent
모델 로딩 실패 이벤트 등록
Example
Parameters
Name | Type | Description |
---|---|---|
listener | Object | Event Listener |