Name | Type | Description |
---|---|---|
viewer |
DitapViewer | 사용할 Ditap Viewer 인스턴스. The DitapViewer instance to use. |
Example:
const viewer = new Ditap.DitapViewer("ditapContainer");
const destination = Ditap.Cartesian3.fromDegrees(
126.978275264,
37.566642192,
400
);
// 카메라 이동
viewer.scene.camera.flyTo({
destination: destination,
});
const modelMatrix = Ditap.Transforms.eastNorthUpToFixedFrame(
Ditap.Cartesian3.fromDegrees(126.9782349646649, 37.56671536989183, 100)
);
const model = await Ditap.Model.fromGltfAsync{
id: "model_01",
url: "../../SampleData/models/GroundVehicle/GroundVehicle.glb",
modelMatrix: modelMatrix,
scale: 3,
});
viewer.scene.primitives.add(model);
// 1. 실행
const interactionClipping = new Ditap.InteractionClipping(viewer);
interactionClipping.on();
Members
핸들러 비/활성화 상태.
Handler enabled or disabled.
readonly selectObject : Model|Cesium3DTileset
선택 모델.
Select model
viewer : DitapViewer
사용할 Ditap Viewer 인스턴스.
The DitapViewer instance to use.
Methods
모바일 전용 이벤트 추가.
Add mobile-specific event.
Add mobile-specific event.
객체의 리소스 파괴.
Destroy resources held by this object.
Destroy resources held by this object.
절단면 분석 핸들러 제거.
End InteractionClipping handler
절단면 분석 핸들러 실행.
Execute clipping analysis handler.
모바일 전용 이벤트 제거.
Remove mobile-specific event.
Remove mobile-specific event.