@splinetool/runtime 0.6.18 → 0.6.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/runtime.js +247 -247
- package/package.json +1 -1
- package/runtime.d.ts +4 -6
package/package.json
CHANGED
package/runtime.d.ts
CHANGED
|
@@ -40,14 +40,12 @@ declare module '@splinetool/runtime' {
|
|
|
40
40
|
};
|
|
41
41
|
|
|
42
42
|
export class Application {
|
|
43
|
+
_controls: any;
|
|
43
44
|
autoRender: boolean;
|
|
44
45
|
canvas: HTMLCanvasElement;
|
|
45
|
-
constructor(
|
|
46
|
-
canvas: HTMLCanvasElement,
|
|
47
|
-
{ autoRender }: { autoRender: true }
|
|
48
|
-
);
|
|
46
|
+
constructor(canvas: HTMLCanvasElement, { autoRender: boolean }?);
|
|
49
47
|
load(path: string): Promise<void>;
|
|
50
|
-
start(
|
|
48
|
+
start(array: ArrayBuffer): void;
|
|
51
49
|
/**
|
|
52
50
|
* Searches through scene's children and returns the object with that uuid
|
|
53
51
|
* @param uuid String to match to the object's uuid
|
|
@@ -104,6 +102,6 @@ declare module '@splinetool/runtime' {
|
|
|
104
102
|
/**
|
|
105
103
|
* Deactivates runtime
|
|
106
104
|
*/
|
|
107
|
-
|
|
105
|
+
dispose(): void;
|
|
108
106
|
}
|
|
109
107
|
}
|