[forge-viewer]: Add missing impl and button defs (#35823)

* Add some missing Impl and Button defs

* Add missing semi
This commit is contained in:
Robert Worman
2019-06-04 15:23:12 -07:00
committed by Andrew Casey
parent eb18ee12a3
commit 5b2c0f0f26
+4
View File
@@ -926,6 +926,8 @@ declare namespace Autodesk {
constructor(thecanvas: any, theapi: any);
visibilityManager: VisibilityManager;
scene: THREE.Scene;
camera: UnifiedCamera;
addOverlay(overlayName: string, mesh: any): void;
clientToViewport(clientX: number, clientY: number): THREE.Vector3;
@@ -941,6 +943,7 @@ declare namespace Autodesk {
matman(): any;
getMaterials(): any;
getScreenShotProgressive(w: number, h: number, onFinished?: () => void, options?: any): any;
getCanvasBoundingClientRect(): ClientRect | DOMRect;
getRenderProxy(model: Model, fragId: number): any;
sceneUpdated(param: boolean): void;
@@ -1213,6 +1216,7 @@ declare namespace Autodesk {
constructor(id: string, options?: object);
Event: ControlEventArgs;
icon: HTMLDivElement;
getState(): Button.State;
onClick: (event: Event) => void;