@3dverse/livelink.core 0.7.7 → 0.7.8
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.
|
@@ -69,17 +69,9 @@ export type Display = Partial<{
|
|
|
69
69
|
*/
|
|
70
70
|
forceRedraw: boolean;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* When 'Force Redraw' is off, this setting controls the number of frames the renderer will draw before going back to idle
|
|
73
73
|
*/
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Toggle camera frustum
|
|
77
|
-
*/
|
|
78
|
-
drawCameraFrustum: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* Toggle bounding box
|
|
81
|
-
*/
|
|
82
|
-
drawBoundingBox: boolean;
|
|
74
|
+
framePersistence: UInt32;
|
|
83
75
|
/**
|
|
84
76
|
* Toggle frustum culling
|
|
85
77
|
*/
|
|
@@ -114,6 +106,10 @@ export type Misc = Partial<{
|
|
|
114
106
|
* The maximum number of time a linker can reference itself.
|
|
115
107
|
*/
|
|
116
108
|
maxLinkersRecursionCount: UInt32;
|
|
109
|
+
/**
|
|
110
|
+
* Plugins to load at startup
|
|
111
|
+
*/
|
|
112
|
+
plugins: Array<string>;
|
|
117
113
|
}>;
|
|
118
114
|
/**
|
|
119
115
|
* Settings for the physics engine.
|
|
@@ -131,6 +127,10 @@ export type Physics = Partial<{
|
|
|
131
127
|
* A frame-rate-independent interval that dictates when physics calculations are performed.
|
|
132
128
|
*/
|
|
133
129
|
timestepInS: Float;
|
|
130
|
+
/**
|
|
131
|
+
* The epsilon used to mark whether the transform of an entity has changed and so whether to notify the physics engine.
|
|
132
|
+
*/
|
|
133
|
+
epsilon: Float;
|
|
134
134
|
/**
|
|
135
135
|
* The approximate size of objects in the simulation. This is used to estimate certain length-related tolerances.
|
|
136
136
|
*/
|
|
@@ -140,9 +140,9 @@ export type Physics = Partial<{
|
|
|
140
140
|
*/
|
|
141
141
|
toleranceSpeed: Float;
|
|
142
142
|
/**
|
|
143
|
-
* The
|
|
143
|
+
* The bigger LMD Max is, the greater the area that is searched for future contacts, and so the greater time taken per iteration. Note that XDE resolves contacts pre-collision, not once collision has taken place, like the majority of physics engines. Displacement of any object per iteration should not exceed LMD Max.
|
|
144
144
|
*/
|
|
145
|
-
|
|
145
|
+
lmdMax: Float;
|
|
146
146
|
}>;
|
|
147
147
|
/**
|
|
148
148
|
* Renderer settings
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GatewayMessageHandler } from "../../_prebuild/GatewayMessageHandler";
|
|
2
2
|
import { SessionInterface } from "../interfaces/SessionInterface";
|
|
3
3
|
import { ActivityWatcher } from "./ActivityWatcher";
|
|
4
|
-
import { UUID } from "../types";
|
|
4
|
+
import { GatewayDisconnectedReason, UUID } from "../types";
|
|
5
5
|
/**
|
|
6
6
|
* The gateway controller is the exposed interface of the Livelink gateway protocol.
|
|
7
7
|
*
|
|
@@ -43,7 +43,9 @@ export declare class GatewayController extends GatewayMessageHandler {
|
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
*/
|
|
46
|
-
_onDisconnected(
|
|
46
|
+
_onDisconnected({ reason }: {
|
|
47
|
+
reason: GatewayDisconnectedReason;
|
|
48
|
+
}): void;
|
|
47
49
|
/**
|
|
48
50
|
*
|
|
49
51
|
*/
|