@luminocity/lemonate-engine 26.3.15 → 26.3.17

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/dist/player.zip CHANGED
Binary file
@@ -61,4 +61,7 @@ export declare class RtCanvas extends RtBase {
61
61
  saveState(): void;
62
62
  restoreState(): void;
63
63
  reset(): void;
64
+ commit(params: RuntimeParams): {
65
+ committed: number;
66
+ };
64
67
  }
@@ -1,4 +1,5 @@
1
1
  import { RtBase, RuntimeParams } from './RtBase';
2
+ import { Vector3 } from 'three';
2
3
  import { ScriptRuntime } from "../ScriptRuntime";
3
4
  export declare class RtSceneObject extends RtBase {
4
5
  constructor(runtime: ScriptRuntime);
@@ -17,7 +18,7 @@ export declare class RtSceneObject extends RtBase {
17
18
  value: any;
18
19
  type: string | null;
19
20
  } | null;
20
- getFieldOptions(params: RuntimeParams): string[] | null | undefined;
21
+ getFieldOptions(params: RuntimeParams): (string | Record<string, unknown>)[] | null | undefined;
21
22
  set(params: RuntimeParams): void;
22
23
  setFieldValueAndVerifyType(obj: any, name: string, value: any): void;
23
24
  setFieldEnumValue(params: RuntimeParams): void;
@@ -73,4 +74,8 @@ export declare class RtSceneObject extends RtBase {
73
74
  getChildren(params: RuntimeParams): any;
74
75
  setAutoRecreate(params: RuntimeParams): null | undefined;
75
76
  recreate(params: RuntimeParams): null | undefined;
77
+ getBounds(params: RuntimeParams): {
78
+ center: Vector3;
79
+ size: Vector3;
80
+ } | null | undefined;
76
81
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luminocity/lemonate-engine",
3
- "version": "26.3.15",
3
+ "version": "26.3.17",
4
4
  "productName": "Lemonate Engine",
5
5
  "repository": "https://codeberg.org/Luminocity/lemonate-engine",
6
6
  "homepage": "https://lemonate.io",
@@ -43,7 +43,7 @@
43
43
  "dependencies": {
44
44
  "@gltf-transform/core": "^4.0.1",
45
45
  "@gltf-transform/extensions": "^4.0.1",
46
- "@luminocity/lemonate-gateway": "8.2.25",
46
+ "@luminocity/lemonate-gateway": "8.2.26",
47
47
  "@msgpack/msgpack": "3.1.1",
48
48
  "@recast-navigation/three": "^0.42.0",
49
49
  "@sparkjsdev/spark": "^0.1.10",