@3dverse/livelink.core 0.7.0 → 0.7.1
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.
|
@@ -119,6 +119,10 @@ export type Misc = Partial<{
|
|
|
119
119
|
* Settings for the physics engine.
|
|
120
120
|
*/
|
|
121
121
|
export type Physics = Partial<{
|
|
122
|
+
/**
|
|
123
|
+
* The engine that is powering the physics of the scene.
|
|
124
|
+
*/
|
|
125
|
+
engine: string;
|
|
122
126
|
/**
|
|
123
127
|
* Global gravity applied throughout the scene.
|
|
124
128
|
*/
|
|
@@ -3,7 +3,7 @@ import { Serializer } from "./Serializer";
|
|
|
3
3
|
import { RTID, UUID, Vec2i } from "./types";
|
|
4
4
|
import { EntityInterface } from "./interfaces/EntityInterface";
|
|
5
5
|
import { SessionInterface } from "./interfaces/SessionInterface";
|
|
6
|
-
import { EditorEntity, EntityCreationOptions, UpdateComponentsCommand } from "../_prebuild/messages/editor";
|
|
6
|
+
import type { ComponentDescriptor, EditorEntity, EntityCreationOptions, UpdateComponentsCommand } from "../_prebuild/messages/editor";
|
|
7
7
|
import { SettingsBaseType } from "../_prebuild/types/settings";
|
|
8
8
|
import { ComponentType } from "./core";
|
|
9
9
|
/**
|
|
@@ -26,6 +26,7 @@ export declare class LivelinkCore {
|
|
|
26
26
|
session: SessionInterface;
|
|
27
27
|
editor_url: string;
|
|
28
28
|
}): Promise<{
|
|
29
|
+
component_descriptors: Record<string, ComponentDescriptor>;
|
|
29
30
|
settings: SettingsBaseType;
|
|
30
31
|
serializer: Serializer;
|
|
31
32
|
}>;
|