UNPKG

vue-cesium

Version:
68 lines (67 loc) 2.76 kB
import { VcComponentInternalInstance, VcComponentPublicInstance, VcPosition, VcReadyObject } from 'vue-cesium/es/utils/types'; export declare const boxGeometryProps: { vertexFormat: import("vue").PropType<Cesium.VertexFormat>; dimensions: { type: import("vue").PropType<VcPosition>; watcherOptions: { cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeCartesian3; }; }; }; declare const _default: import("vue").DefineComponent<{ vertexFormat: import("vue").PropType<Cesium.VertexFormat>; dimensions: { type: import("vue").PropType<VcPosition>; watcherOptions: { cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeCartesian3; }; }; }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { beforeLoad: (instance: VcComponentInternalInstance) => boolean; ready: (readyObj: VcReadyObject) => boolean; unready: (e: any) => boolean; destroyed: (instance: VcComponentInternalInstance) => boolean; }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ vertexFormat: import("vue").PropType<Cesium.VertexFormat>; dimensions: { type: import("vue").PropType<VcPosition>; watcherOptions: { cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeCartesian3; }; }; }>> & { onBeforeLoad?: (instance: VcComponentInternalInstance) => any; onReady?: (readyObj: VcReadyObject) => any; onUnready?: (e: any) => any; onDestroyed?: (instance: VcComponentInternalInstance) => any; }, {}>; export default _default; export type VcGeometryBoxProps = { /** * The width, depth, and height of the box stored in the x, y, and z coordinates of the Cartesian3, respectively. */ dimensions: VcPosition; /** * The vertex attributes to be computed. */ vertexFormat?: Cesium.VertexFormat; /** * Triggers before the VcGeometryBox is loaded. */ onBeforeLoad?: (instance: VcComponentInternalInstance) => void; /** * Triggers when the VcGeometryBox is successfully loaded. */ onReady?: (readyObject: VcReadyObject) => void; /** * Triggers when the component load failed. */ onUnready?: (e: any) => void; /** * Triggers when the VcGeometryBox is destroyed. */ onDestroyed?: (instance: VcComponentInternalInstance) => void; }; export type VcGeometryBoxRef = VcComponentPublicInstance<VcGeometryBoxProps>;