EVENTS
const EVENTS
Event type object with event name strings of View3D
Type: object
PROPERTY | TYPE | DESCRIPTION |
---|---|---|
READY | "ready" | Ready event |
LOAD_START | "loadStart" | Load start event |
LOAD | "load" | Load event |
LOAD_ERROR | "loadError" | Load error event |
RESIZE | "resize" | Resize event |
BEFORE_RENDER | "beforeRender" | Before render event |
RENDER | "render" | Render event |
PROGRESS | "progress" | Progress event |
INPUT_START | "inputStart" | Input start event |
INPUT_END | "inputEnd" | Input end event |
CAMERA_CHANGE | "cameraChange" | Camera change event |
ANIMATION_START | "animationStart" | Animation start event |
ANIMATION_LOOP | "animationLoop" | Animation loop event |
ANIMATION_FINISHED | "animationFinished" | Animation finished event |
ANNOTATION_FOCUS | "annotationFocus" | Annotation focus event |
ANNOTATION_UNFOCUS | "annotationUnfocus" | Annotation unfocus event |
QUICK_LOOK_TAP | "quickLookTap" | Quick Look Tap event |
AR_START | "arStart" | AR start evemt |
AR_END | "arEnd" | AR end event |
AR_MODEL_PLACED | "arModelPlaced" | AR model placed event |
import { EVENTS } from "@egjs/view3d";
EVENTS.RESIZE; // "resize"