DroneSimulationEventHandler

드론시뮬레이션 이벤트 핸들러 클래스.
DroneSimulation event handler class.

new Ditap.DroneSimulationEventHandler(viewer, options)

Name Type Description
viewer DitapViewer 사용할 Ditap Viewer 인스턴스.
The DitapViewer instance to use.
options object optional 드론시뮬레이션 이벤트 핸들러 옵션.
DroneSimulation event handler options.
Name Type Default Description
droneSimulations Array.<DroneSimulation> [] optional 드론시뮬레이션 이벤트 핸들러 적용 인스턴스 목록.
List of instances where droneSimulation event handler is applied.
leftClickCallback function optional 드론시뮬레이션 마우스 좌클릭 콜백함수.
DroneSimulation mouse left click callback function.
rightClickCallback function optional 드론시뮬레이션 마우스 우클릭 콜백함수.
DroneSimulation mouse right click callback function.
hoverCallback function optional 드론시뮬레이션 마우스 호버 콜백함수.
DroneSimulation mouse hover callback function.
leavelCallback function optional 드론시뮬레이션 호버 해제 콜백함수.
DroneSimulation hover release callback function.

Members

droneSimulations : Array.<DroneSimulation>

드론시뮬레이션 이벤트 핸들러 적용 인스턴스 목록.
List of instances where droneSimulation event handler is applied.

hoverCallback : function

드론시뮬레이션 마우스 호버 콜백함수.
DroneSimulation mouse hover callback function.

readonly isOn : boolean

핸들러 비/활성화 상태.
Handler enabled or disabled.

leaveCallback : function

드론시뮬레이션 호버 해제 콜백함수.
DroneSimulation hover release callback function.

leftClickCallback : function

드론시뮬레이션 마우스 좌클릭 콜백함수.
DroneSimulation mouse left click callback function.

rightClickCallback : function

드론시뮬레이션 마우스 우클릭 콜백함수.
DroneSimulation mouse right click callback function.

readonly viewer : DitapViewer

사용할 Ditap Viewer 인스턴스.
The DitapViewer instance to use.

Methods

destroy()

인스턴스 제거.
Remove instance.

off()

핸들러 종료.
End handler.

on()

핸들러 실행.
Run handler.